CSimpleMap::FindKey

Finds a specific key.

int FindKey(
   const TKey& key 
) const;

Parameters

  • key
    The key to search for.

Return Value

Returns the index of the key if found, otherwise returns -1.

Requirements

Header: atlsimpcoll.h

See Also

Concepts

CSimpleMap Class

CSimpleMap Members

CSimpleMap::FindVal