次の方法で共有


IComponentTypes Interface

 
Microsoft DirectShow 9.0

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.

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.

See Also