CRBTree::GetNextAssoc
Call this method to get the key and value of an element stored in the map and advance the position to the next element.
void GetNextAssoc(
POSITION& pos,
KOUTARGTYPE key,
VOUTARGTYPE value
) const;
pos
The position counter, returned by a previous call to methods such as CRBTree::GetHeadPosition or CRBTree::FindFirstKeyAfter.key
Template parameter specifying the type of the tree's key.value
Template parameter specifying the type of the tree's value.
The pos position counter is updated after each call. If the retrieved element is the last in the tree, pos is set to NULL.
Header: atlcoll.h