The filter graph manager exposes the IAMCollection object, which allows access to object collections. These collections contain IPinInfo, IFilterInfo, or IMediaTypeInfo objects.
Properties
Count Returns the number of items in the collection.
Methods
Item Retrieves the specified member of the collection.
Returns the number of items in the collection.
Syntax
objCollection.Count
Parts
- objCollection
- Object expression that evaluates to an IAMCollection object.
Retrieves the specified collection member and stores it in the passed-in object.
Syntax
objCollection.Item lItem, objNew
Parts
- objCollection
- Object expression that evaluates to an IAMCollection object.
- lItem
- Index of the item to retrieve.
- objNew
- Object expression that can evaluate to an IFilterInfo, IPinInfo, or IMediaTypeInfo object depending on the collection type. This argument will contain the retrieved item.
Remarks
The index value ranges from 0 to (Count 1).
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.