Share via


ICollectionOnSTLImpl::get_Item

STDMETHOD( get_Item )( long Index**, ItemType*** pvar );

Return Value

A standard HRESULT value.

Parameters

Index

[in] The 1-based index of an item in the collection.

pvar

[out] The item corresponding to Index.

Remarks

This method returns the specified item from the collection. The item is obtained by copying the data at the specified position in m_coll using the copy method of the copy policy class passed as a template argument in the ICollectionOnSTLImpl specialization.

ICollectionOnSTLImpl OverviewClass Members