Compartir a través de


CAtlMap::RemoveAtPos

Call this method to remove the element at the given position in the CAtlMap object.

void RemoveAtPos(
   POSITION pos 
) throw( );

Parameters

Remarks

Removes the key/value pair stored at the specified position. The memory used to store the element is freed. The POSITION referenced by pos becomes invalid, and while the POSITION of any other elements in the map remains valid, they do not necessarily retain the same order.

Requirements

Header: atlcoll.h

See Also

Reference

CAtlMap Class

CAtlMap::RemoveKey

CAtlMap::RemoveAll

Other Resources

CAtlMap Members