Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMFCollection interface

Represents a generic collection of IUnknown pointers.

Members

The IMFCollection interface inherits from the IUnknown interface. IMFCollection also has these types of members:

Methods

The IMFCollection interface has these methods.

MethodDescription
AddElement

Adds an object to the collection.

GetElement

Retrieves an object in the collection.

GetElementCount

Retrieves the number of objects in the collection.

InsertElementAt

Adds an object at the specified index in the collection.

RemoveAllElements

Removes all items from the collection.

RemoveElement

Removes an object from the collection.

 

Remarks

To create an empty collection object, call MFCreateCollection.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfobjects.h (include Mfidl.h)

Library

Mfuuid.lib

See also

Media Foundation Interfaces

 

 

Show:
© 2017 Microsoft