ICollectionOnSTLImpl::get_Item
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

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.

A standard HRESULT value.

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.

Show:
© 2016 Microsoft