Поделиться через


CMapStringToOb::HashKey

Calculates the hash value of a specified key.

UINT HashKey(
   LPCTSTR key
) const;

Параметры

  • key
    The key whose hash value is to be calculated.

Возвращаемое значение

The Key's hash value

Заметки

The following table shows other member functions that are similar to CMapStringToOb::HashKey.

Class

Member Function

CMapPtrToPtr

UINT HashKey( void* key ) const;

CMapPtrToWord

UINT HashKey( void* key ) const;

CMapStringToString

UINT HashKey( LPCTSTR key ) const;

CMapStringToPtr

UINT HashKey( LPCTSTR key ) const;

CMapWordToOb

UINT HashKey( WORD key ) const;

CMapWordToPtr

UINT HashKey( WORD key ) const;

Требования

Header: afxcoll.h

См. также

Основные понятия

CMapStringToOb Class

CMapStringToOb Members

Hierarchy Chart