IComponentTypes::put_Item Method
The put_Item method replaces the ComponentType object at the specified index with a new ComponentType object.
Syntax
HRESULT put_Item(
[in] VARIANT Index,
[in] 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 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
Send comments about this topic to Microsoft
Build date: 12/4/2008