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.AddElement) |
IMFCollection::GetElement Retrieves an object in the collection. |
IMFCollection::GetElementCount Retrieves the number of objects in the collection. (IMFCollection.GetElementCount) |
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
Requirement | Value |
---|---|
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for