Expand Minimize

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft