| Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
A Channels object contains an ordered collection of Channel objects. This object exposes the following properties, methods and events.
| Property | Description |
| AddNewAt | Creates a Channel object and adds it to the Channels object at a specified index. |
| Count | Retrieves the number of Channel objects in the Channels object collection. |
| Item | Retrieves a Channel object from the Channels object collection using a specified index. |
| ItemsByKey | Retrieves a sorted collection of objects that meet the specified criteria. |
| ItemWithKey | Retrieves an object using the collection's key metaproperty. |
| ItemsWithMetaPropertyCond | Retrieves a collection of objects that meet the specified condition. |
| ItemWithName | Retrieves a Channel object from the Channels object collection using the Channel object's name. |
| Method | Description |
| AddAt | Adds a Channel object to the collection at a specified index. |
| Remove | Removes an object from the collection. |
| RemoveAll | Removes all objects in the collection from the repository. |
| Resync | Updates the collection. |
| UnreferencedItems | Retrieves a collection of objects that are not referenced by other objects. |
| Event | Description |
| ItemAdded | An object has been added to the collection. |
| ItemChanged | An object in the collection has changed. |
| ItemRemoved | An object has been removed from the collection. |
| ItemsChanged | Two or more objects in the collection have been changed, added, or removed. |