Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The IPrograms interface manages a Programs collection of Program objects.
In addition to the methods inherited from IDispatch, the IPrograms interface exposes the following methods.
Method | Description |
get_AddNew | Retrieves an object from the collection. If no object with the specified name exists, one is added. |
get_Count | Retrieves the number of objects in the collection. |
get_Item | Retrieves the object located at the specified index. |
get_ItemsByKey | Retrieves a sorted collection of objects that meet the specified criteria. |
get_ItemsWithMetaProperty | Retrieves a collection of objects all associated with the specified MetaProperty object. |
get_ItemsWithMetaPropertyCond | Retrieves a collection of objects that all meet the condition of a specified MetaPropertyCondition object. |
get_ItemWithID | Retrieves an object from the collection by its unique identifier. |
get_ItemWithKey | Retrieves an object by key metaproperty. |
Remove | Removes an object from the collection. |
RemoveAll | Removes all objects from the collection. |
Resync | Updates the collection. |
UnreferencedItems | Retrieves a collection of objects that are not referenced by other objects. |
Remarks
The IID of this interface is IID_IPrograms.