共用方式為


CSimpleMap::ReverseLookup

Returns the key associated with the given value.

TKey ReverseLookup(
   const TVal& val 
) const;

Parameters

  • val
    The value.

Return Value

Returns the associated key. If no matching key is found, NULL is returned.

Requirements

Header: atlsimpcoll.h

See Also

Concepts

CSimpleMap Class

CSimpleMap Members

CSimpleMap::Lookup