共用方式為


CStringRefElementTraits::Hash

呼叫這個靜態函式計算指定資料項目的雜湊值。

static ULONG Hash(
   INARGTYPE str 
) throw( );

參數

  • str
    字串項目。

傳回值

傳回雜湊值,計算使用字串的內容。

需求

Header: atlcoll.h

請參閱

參考

CStringRefElementTraits 類別