Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CMap::RemoveKey 

Looks up the map entry corresponding to the supplied key; then, if the key is found, removes the entry.


BOOL RemoveKey(
      ARG_KEY key 
);

Parameters

ARG_KEY

Template parameter specifying the type of the key.

key

Key for the element to be removed.

Nonzero if the entry was found and successfully removed; otherwise 0.

The DestructElements helper function is used to remove the entry.

See the example for CMap::SetAt.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.