Share via


IVstaHostItem.HostObjects Property

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

See Also

Reference

IVstaHostItem Interface

IVstaHostItem Members

Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace