Επεξεργασία

Κοινή χρήση μέσω


IHash<TKey,TValue>.empty Method

Definition

Tests whether no elements are present in the container.

public:
 bool empty();
public bool empty ();
abstract member empty : unit -> bool
Public Function empty () As Boolean

Returns

true if the container has no elements; otherwise, false.

Remarks

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

Applies to