Share via


CAtlMap::GetNextKey

Call this method to retrieve the next key from the CAtlMap object.

const K& GetNextKey( 
   POSITION& pos  
) const throw( );

Parameters

Return Value

Returns a reference to the next key in the map.

Remarks

Updates the current position counter, pos. If there are no more entries in the map, the position counter is set to NULL.

Requirements

Header: atlcoll.h

See Also

Reference

CAtlMap Class

CAtlMap::GetNextValue

CAtlMap::GetNext

CAtlMap::GetNextAssoc