共用方式為


CSimpleMap::Remove

Removes a key and matching value.

BOOL Remove(
   const TKey& key 
);

Parameters

  • key
    The key.

Return Value

Returns TRUE if the key, and matching value, were successfully removed, FALSE otherwise.

Requirements

Header: atlsimpcoll.h

See Also

Concepts

CSimpleMap Class

CSimpleMap Members

CSimpleMap::RemoveAll

CSimpleMap::RemoveAt