CAtlMap::GetNextValue

Call this method to get the next value from the CAtlMap object.

V& GetNextValue(
   POSITION& pos 
) throw( );
const V& GetNextValue(
   POSITION& pos 
) const throw( );

Parameters

Return Value

Returns a reference to the next value 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.

Example

See the example for CAtlMap::CAtlMap.

Requirements

Header: atlcoll.h

See Also

Reference

CAtlMap Class

CAtlMap::GetNext

CAtlMap::GetNextKey

CAtlMap::GetNextAssoc

Other Resources

CAtlMap Members