CSimpleMap::FindVal

Finds a specific value.

int FindVal(
   const TVal& val 
) const;

Parameters

  • val
    The value for which to search.

Return Value

Returns the index of the value if it is found, otherwise returns -1.

Requirements

Header: atlsimpcoll.h

See Also

Reference

CSimpleMap Class

CSimpleMap::FindKey

Other Resources

CSimpleMap Members