Share via


IMFCollection Interface

Represents a generic collection of IUnknown pointers.

Mitglieder

IMFCollectionSchnittstelle erbt von der IUnknown-Schnittstelle. IMFCollection umfasst auch die folgenden Typen von Mitgliedern:

  • Methoden

Methoden

IMFCollectionSchnittstelle umfasst die folgenden Methoden.

Methode Beschreibung
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.

 

Hinweise

To create an empty collection object, call MFCreateCollection.

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Mfobjects.h (include Mfidl.h)

Bibliothek

Mfuuid.lib

Siehe auch

Media Foundation Interfaces