IComponentTypes Interface
The IComponentTypes interface is implemented on ComponentTypes objects and contains methods that enable applications to enumerate, add, remove and retrieve individual ComponentType objects. All ComponentTypes objects also support IPersistPropertyBag.
Methods
The IComponentTypes interface inherits the methods of the IDispatch interface.
In addition, IComponentTypes defines the following methods.
Method | Description |
---|---|
Adds a new ComponentType object to the collection. |
|
Creates a new copy of the collection. |
|
Returns an IEnumComponentTypes enumerator for all component types in the collection. |
|
Enumeration method to support For...Each loops in Automation clients. |
|
Returns the number of Component Types in the collection. |
|
Retrieves the IComponentType interface pointer at the specified index number. |
|
Replaces the ComponentType object at the specified index with a new ComponentType object. |
|
Removes the ComponentType object at the specified index number. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008