Share via


CRBMultiMap::RemoveKey

Call this method to remove all of the key/value elements for a given key.

size_t RemoveKey( 
   KINARGTYPE key  
) throw( );

Parameters

  • key
    Specifies the key that identifies the element(s) to be deleted.

Return Value

Returns the number of values associated with the given key.

Remarks

RemoveKey deletes all of the key/value elements that have a key that matches key.

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::Insert