共用方式為


CMap::GetHashTableSize

Determines the number of elements in the hash table for the map.

UINT GetHashTableSize( ) const;

Return Value

The number of elements in the hash table.

Example

CMap<int,int,CPoint,CPoint> myMap;

UINT uTableSize = myMap.GetHashTableSize();      

Requirements

Header: afxtempl.h

See Also

Concepts

CMap Class

CMap Members

Hierarchy Chart

CMap::InitHashTable