IComponents 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 IComponents interface represents a collection of components. In digital television, the term component refers to a substream within the program stream. For example, a program stream may have three audio streams in different languages; in this case each audio stream is a component of the program stream. The IComponents interface is implemented on the Components object, which is a collection of components. The Components object enables applications to enumerate components within a program stream and perform operations related to individual components in the collection. The Components object also supports IPersistPropertyBag.
Inheritance
The IComponents interface inherits from the IDispatch interface. IComponents also has these types of members:
Methods
The IComponents interface has these methods.
IComponents::Add The Add method adds a Component object to the collection. |
IComponents::Clone The Clone method creates a new copy of the collection. |
IComponents::EnumComponents The EnumComponents method returns an enumerator for the components in the collection. |
IComponents::get__NewEnum The get__NewEnum enumeration method supports For...Each loops in Automation clients. |
IComponents::get_Count The get_Count method gets the number of Component objects in the collection. |
IComponents::get_Item The get_Item method enables the caller to access a component by index. |
IComponents::put_Item The put_Item method inserts a component into the collection, replacing the item that is identified by the specified index. |
IComponents::Remove The Remove method removes a Component object from the collection. |
Remarks
To declare the interface identifier (IID) for this interface, use the __uuidof operator: __uuidof(IComponents)
.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | tuner.h |