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

Reference

CSimpleMap Class

CSimpleMap::FindVal

Other Resources

CSimpleMap Members