Share via


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

Reference

CSimpleMap Class

CSimpleMap::GetValueAt

Other Resources

CSimpleMap Members