Index Topic Contents | |||
Previous Topic: Visual Basic Objects Next Topic: IBasicAudio Object |
IAMCollection Object
The filter graph manager exposes the IAMCollection object, which allows access to object collections. These collections contain IPinInfo, IFilterInfo, or IMediaTypeInfo objects.
Properties
Name Description Count Returns the number of items in the collection. Methods
Name Description Item Retrieves the specified member of the collection. IAMCollection Object
Count Property (IAMCollection Object)Returns the number of items in the collection.
objCollection.Count
Parts
- objCollection
- Object expression that evaluates to an IAMCollection object.
IAMCollection Object
Item Method (IAMCollection Object)Retrieves the specified collection member and stores it in the passed-in object.
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).
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.