IMFCollection interface (mfobjects.h)

Represents a generic collection of IUnknown pointers.

Inheritance

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

Methods

The IMFCollection interface has these methods.

 
IMFCollection::AddElement

Adds an object to the collection.
IMFCollection::GetElement

Retrieves an object in the collection.
IMFCollection::GetElementCount

Retrieves the number of objects in the collection.
IMFCollection::InsertElementAt

Adds an object at the specified index in the collection.
IMFCollection::RemoveAllElements

Removes all items from the collection.
IMFCollection::RemoveElement

Removes an object from the collection.

Remarks

To create an empty collection object, call MFCreateCollection.

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfobjects.h (include Mfidl.h)

See also

Media Foundation Interfaces