Share via


CSimpleMap::Lookup

Returns the value associated with the given key.

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

Reference

CSimpleMap Class

CSimpleMap::ReverseLookup