Redigera

Dela via


IHash<TKey,TValue>.clear Method

Definition

Removes all elements from the container.

public:
 void clear();
public void clear ();
abstract member clear : unit -> unit
Public Sub clear ()

Remarks

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

Applies to