Condividi tramite


ICollectionOnSTLImpl::get_Item

This method returns the specified item from the collection.

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

Parameters

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

  • pvar
    [out] The item corresponding to Index.

Return Value

A standard HRESULT value.

Remarks

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.

Requirements

Header: atlcom.h

See Also

Reference

ICollectionOnSTLImpl Class

Other Resources

ICollectionOnSTLImpl Members