Microsoft DirectX 9.0 |
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.
In addition to the methods inherited from IDispatch, the IComponentTypes interface exposes the following methods.
Method | Description |
Add | Adds a new ComponentType object to the collection. |
Clone | Creates a new copy of the collection. |
EnumComponentTypes | Returns an IEnumComponentTypes enumerator for all component types in the collection. |
get__NewEnum | Enumeration method to support For...Each loops in Automation clients. |
get_Count | Returns the number of Component Types in the collection. |
get_Item | Retrieves the IComponentType interface pointer at the specified index number. |
put_Item | Replaces the ComponentType object at the specified index with a new ComponentType object. |
Remove | Removes the ComponentType object at the specified index number. |