IComponentTypes::put_Item
Microsoft DirectShow 9.0 |
IComponentTypes::put_Item
The put_Item method replaces the ComponentType object at the specified index with a new ComponentType object.
Syntax
HRESULT put_Item( VARIANT Index, IComponentType* pComponentType );
Parameters
Index
[in] Index number of the item to be replaced.
pComponentType
[in] Pointer to the IComponentType object that will be inserted into the collection.
Return Values
Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.
Requirements
Header: Dshow.h.
Library: Quartz.dll.
See Also