Host property
- Last UpdatedJul 23, 2024
- 1 minute read
Returns or sets the name of this object’s host.
Class
ITemplate
Syntax
[C#]
string Host { set; get; };
[Visual C++]
// Retrieve the name of the Host for this object, or
// blank if unassigned.
[propget]
HRESULT Host(
// The name of the Host for this object.
[out, retval] BSTR* theHost
);
// Set the Host for this object.
// If this object is an ApplicationObject, its Area
// and container area also updated.
// The object does not need to be checked out; the
// operation is immediate.
[propput]
HRESULT Host(
// The name of the Host, or blank to unassign
// from existing Host.
[in] BSTR NewHost
);