Share via


CStringElementTraits::Hash

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

static ULONG Hash(
   INARGTYPE str 
);

Parameters

  • str
    The string element.

Return Value

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

Requirements

Header: cstringt.h

See Also

Reference

CStringElementTraits Class

CStringElementTraitsI::Hash

Other Resources

CStringElementTraits Members