แก้ไข

แชร์ผ่าน


IHash<TKey,TValue>.size Method

Definition

Counts the number of elements in the container.

public:
 int size();
public int size ();
abstract member size : unit -> int
Public Function size () As Integer

Returns

The length of the controlled sequence.

Remarks

For more information, see hash_map::size (STL/CLR), hash_multimap::size (STL/CLR), hash_set::size (STL/CLR), and hash_multiset::size (STL/CLR).

Applies to