IVstaHostObjectCollection Members

Include Protected Members
Include Inherited Members

Provides methods and properties to change a HostObjectCollection of the host objects for a specific HostItem.

The IVstaHostObjectCollection type exposes the following members.

Methods

  Name Description
Public method Add Overloaded. Creates a new HostObject that is attached to the HostItem.
Public method AddRange Overloaded. Adds multiple HostObjects to the HostObjectCollection.
Public method Clear Removes all items from the collection.
Public method Contains Gets a value that indicates whether the collection contains the specified host object.
Public method CopyTo Copies the current collection into the specified array, at the specified index.
Public method GetEnumerator Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method IndexOf Gets the index of the specified host object.
Public method Insert Inserts the specified host object at the specified location in the collection.
Public method Remove Removes the specified host object from the collection.
Public method RemoveAt Removes the host object at the specified index location.

Top

Properties

  Name Description
Public property Count Gets the number of items in the IVstaHostObject.
Public property Item Overloaded. Gets the specified host object from the collection.

Top

See Also

Reference

IVstaHostObjectCollection Interface

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