Share via


IComponentTypes::put_Item method (tuner.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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 *ComponentType
);

Parameters

[in] Index

Index number of the item to be replaced.

[in] ComponentType

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

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tuner.h

See also

IComponentTypes Interface