Interface
IMFCollection

Definition

Namespace:MediaFoundation

Assembly:MediaFoundation.dll

Syntax:

cs-api-definition
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("5BC8A76B-869A-46A3-9B03-FA218A66AEBE")]
public interface IMFCollection

Methods

AddElement(object)

Declaration

cs-api-definition
HResult AddElement(object pUnkElement)

Parameters

pUnkElement

object

Returns

HResult

GetElement(int, out object)

Declaration

cs-api-definition
HResult GetElement(int dwElementIndex, out object ppUnkElement)

Parameters

dwElementIndex

int

ppUnkElement

object

Returns

HResult

GetElementCount(out int)

Declaration

cs-api-definition
HResult GetElementCount(out int pcElements)

Parameters

pcElements

int

Returns

HResult

InsertElementAt(int, object)

Declaration

cs-api-definition
HResult InsertElementAt(int dwIndex, object pUnknown)

Parameters

dwIndex

int

pUnknown

object

Returns

HResult

RemoveAllElements()

Declaration

cs-api-definition
HResult RemoveAllElements()

Returns

HResult

RemoveElement(int, out object)

Declaration

cs-api-definition
HResult RemoveElement(int dwElementIndex, out object ppUnkElement)

Parameters

dwElementIndex

int

ppUnkElement

object

Returns

HResult