Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Call this method to return the element at a specified position in the map.
void GetAt(
POSITION pos,
KOUTARGTYPE key,
VOUTARGTYPE value
) const;
CPair* GetAt(
POSITION& pos
) throw( );
Parameters
pos
The position counter, returned by a previous call to CAtlMap::GetNextAssoc 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.
Return Value
Returns a pointer to the current pair of key/value elements stored in the map.
Remarks
In debug builds, an assertion error will occur if pos is equal to NULL.
Requirements
Header: atlcoll.h