CStringRefElementTraits::Hash

Call this static function to calculate a hash value for the given string element.

static ULONG Hash(
   INARGTYPE str 
) throw( );

Parameters

  • str
    The string element.

Return Value

Returns a hash value, calculated using the string's contents.

Requirements

Header: atlcoll.h

See Also

Concepts

CStringRefElementTraits Class

CStringRefElementTraits Members