共用方式為


CSimpleMap::GetKeyAt

Retrieves the key at the specified index.

TKey& GetKeyAt(
   int nIndex 
) const;

Parameters

  • nIndex
    The index of the key to return.

Return Value

Returns the key referenced by nIndex.

Remarks

The index passed by nIndex must be valid for the return value to be meaningful.

Requirements

Header: atlsimpcoll.h

See Also

Concepts

CSimpleMap Class

CSimpleMap Members

CSimpleMap::GetValueAt