CAtlMap::GetNextAssoc
Gets the next element for iterating.
Syntax
void GetNextAssoc(
POSITION& pos,
KOUTARGTYPE key,
VOUTARGTYPE value
) const;
Parameters
pos
The position counter, returned by a previous call to d4cb97c8-c446-4b63-9507-9518f16a9f97#vclrfcatlmapgetnextassoc or CAtlMap::GetStartPosition.key
Template parameter specifying the type of the map's key.value
Template parameter specifying the type of the map's value.
Remarks
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
CAtlMap Class
CAtlMap::GetNext
CAtlMap::GetNextKey
CAtlMap::GetNextValue
CAtlMap::GetStartPosition