Microsoft DirectX 8.1 (C++)

IAMCollection.Item

The Item method retrieves an item from the collection.

Syntax

objCollection.Item(
    index As Long, 
    ByRef objItem As Object)

Parameters

index

Index of the item to retrieve. The value can range from 0 to IAMCollection.Count – 1.

objItem

Variable that receives the item from the collection. 

Return Values

This method does not return a value.

Remarks

The item is returned in the objItem parameter; it is an object of type IFilterInfo, IPinInfo, or IMediaTypeInfo, depending on the collection.

See Also