Share via


IComponents::get_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 get_Item method enables the caller to access a component by index.

Syntax

HRESULT get_Item(
  [in]  VARIANT    Index,
  [out] IComponent **ppComponent
);

Parameters

[in] Index

Variable of type VARIANT specifying the zero-based index in the collection.

[out] ppComponent

Address of an IComponent interface pointer that will receive the Component object at the specified index.

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

IComponents Interface