| Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
A ChannelLineups object manages an ordered collection of ChannelLineup objects. This object exposes the following properties, methods and events.
| Property | Description |
| AddNew | Retrieves a ChannelLineup object from the collection. If no object with the specified name exists, one is added. |
| Count | Retrieves the number of ChannelLineup objects in the collection. |
| Item | Retrieves a ChannelLineup object in the 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. A collection has a key metaproperty if it was retrieved by using ChannelLineups.ItemsByKey. |
| Method | Description |
| Remove | Removes an object from the repository. |
| 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. |