Partager via


CRBMultiMap::Insert

Call this method to insert an element pair into the map.

POSITION Insert( 
   KINARGTYPE key, 
   VINARGTYPE value 
) throw(...);

Parameters

  • key
    The key value to add to the CRBMultiMap object.

  • value
    The value to add to the CRBMultiMap object, associated with key.

Return Value

Returns the position of the key/value element pair in the CRBMultiMap object.

Remarks

See the documentation for the base class CRBTree for information on the other methods available.

Example

See the example for CRBMultiMap::CRBMultiMap.

Requirements

Header: atlcoll.h

See Also

Reference

CRBMultiMap Class

CRBMultiMap::RemoveKey