Share via


CSimpleMap::Lookup

 

Returns the value associated with the given key.

Syntax

      TVal Lookup(
   const TKey& key 
) const;

Parameters

  • key
    The key.

Return Value

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

Requirements

Header: atlsimpcoll.h

See Also

CSimpleMap Class
CSimpleMap::ReverseLookup