Share via


CAtlMap::GetNextKey

 

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

Syntax

      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

CAtlMap Class
CAtlMap::GetNextValue
CAtlMap::GetNext
CAtlMap::GetNextAssoc