This topic has not yet been rated - Rate this topic

CRBMap::RemoveKey 

Call this method to remove an element from the CRBMap object, given the key.


bool RemoveKey(
   KINARGTYPE key 
) throw( );

Parameters

key

The key corresponding to the element pair you want to remove.

Returns true if the key is found and removed, false on failure.

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

// Remove an element, based on the key of 0
ATLVERIFY(myMap.RemoveKey(0) == true);
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.