Share via


CAtlMap::GetNext

Call this method to obtain a pointer to the next element pair stored in the CAtlMap object.

CPair* GetNext( 
   POSITION& pos  
) throw( ); 
const CPair* GetNext( 
   POSITION& pos  
) const throw( );

Parameters

Return Value

Returns a pointer to the next pair of key/value elements stored in the map. The pos position counter is updated after each call. If the retrieved element is the last in the map, pos is set to NULL.

Requirements

Header: atlcoll.h

See Also

Reference

CAtlMap Class

CAtlMap::GetNextAssoc

CAtlMap::GetNextKey

CAtlMap::GetNextValue

CAtlMap::CPair Class