共用方式為


IAMCollection.Item

 
Microsoft DirectShow 9.0

IAMCollection.Item

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

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.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also