Compartir a través de


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

Concepts

CStringElementTraits Class

CStringElementTraits Members

CStringElementTraitsI::Hash