Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the collection of host objects that is contained by the HostItem.
Namespace: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop
Assembly: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)
Syntax
'Declaration
ReadOnly Property HostObjects As IVstaHostObjectCollection
'Usage
Dim instance As IVstaHostItem
Dim value As IVstaHostObjectCollection
value = instance.HostObjects
IVstaHostObjectCollection HostObjects { get; }
property IVstaHostObjectCollection^ HostObjects {
IVstaHostObjectCollection^ get ();
}
function get HostObjects () : IVstaHostObjectCollection
Property Value
Type: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop.IVstaHostObjectCollection
The collection of host objects associated with the host item.
Remarks
For example, if a host item represents a Form class, its collection of host objects might contain the various controls that are associated with the form.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace