Container property
- Last UpdatedJul 23, 2024
- 1 minute read
Returns or sets the container for this object. When setting the container, the object does not need to be checked out, and the change is immediate. For an ApplicationObject, the ApplicationObject’s Area and Host area are also updated.
Class
IInstance
Syntax
[C#]
string Container { set; get; };
[Visual C++]
// Returns name of the Container object, or blank if
//object is not contained.
[propget]
HRESULT Container(
// The name of the Container object, or blank if
// the object is not contained.
[out, retval] BSTR* theContainer
);
// Set the Container for this object.
[propput]
HRESULT Container(
// The name of the container, or blank to uncontain.
[in] BSTR NewContainer
);