CMapStringToString::PGetNextAssoc
Retrieves the map element pointed to by pAssocRec.
const CPair *PGetNextAssoc(
const CPair* pAssoc
) const;
CPair *PGetNextAssoc(
const CPair* pAssoc
);
Параметры
- pAssoc
Points to a map entry returned by a previous PGetNextAssoc or PGetFirstAssoc call.
Возвращаемое значение
A pointer to the next entry in the map; see CMapStringToString::CPair. If the element is the last in the map, the value is NULL.
Заметки
Call this method to iterate through all the elements in the map. Retrieve the first element with a call to PGetFirstAssoc and then iterate through the map with successive calls to PGetNextAssoc.
Пример
See the example for CMapStringToString::PGetFirstAssoc.
Требования
Header: afxcoll.h