IComponentTypes interface (tuner.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
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.
Inheritance
The IComponentTypes interface inherits from the IDispatch interface. IComponentTypes also has these types of members:
Methods
The IComponentTypes interface has these methods.
IComponentTypes::Add The Add method adds a new ComponentType object to the collection. |
IComponentTypes::Clone The Clone method creates a new copy of the collection. |
IComponentTypes::EnumComponentTypes The EnumComponentTypes method returns an IEnumComponentTypes enumerator for all component types in the collection. |
IComponentTypes::get__NewEnum The get__NewEnum enumeration method supports For...Each loops in Automation clients. |
IComponentTypes::get_Count The get_Count method returns the number of component types in the collection. |
IComponentTypes::get_Item The get_Item method retrieves the IComponentType interface pointer at the specified index number. |
IComponentTypes::put_Item The put_Item method replaces the ComponentType object at the specified index with a new ComponentType object. |
IComponentTypes::Remove The Remove method removes the ComponentType object at the specified index number. |
Remarks
To declare the interface identifier (IID) for this interface, use the __uuidof operator: __uuidof(IComponentTypes)
.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | tuner.h |