IComponents Interface
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.
Methods
The IComponents interface inherits the methods of the IDispatch interface.
In addition, IComponents defines the following methods.
Method | Description |
---|---|
Adds a Component object to the collection. |
|
Creates a new copy of the collection. |
|
Returns an IEnumComponents enumerator for all components in the collection. |
|
Enumeration method to support For...Each loops in Automation clients. |
|
Gets the number of Component objects in the collection. |
|
Enables the caller to access a component by index. |
|
Replaces an existing item in the collection with a new Component object. |
|
Removes a Component object from the collection. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008