Share via


IComponents::Remove Method

The Remove method removes a Component object from the collection.

Syntax

HRESULT Remove(
  [in]  VARIANT Index
);

Parameters

  • Index [in]
    Variable of type VARIANT that specifies the index number of the Component object to be removed.

Return Value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IComponents Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008