ConcurrentDictionary<TKey,TValue>.Clear Method

Definition

将所有键和值从 ConcurrentDictionary<TKey,TValue> 中移除。Removes all keys and values from the ConcurrentDictionary<TKey,TValue>.

public:
 virtual void Clear();
public void Clear ();
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Public Sub Clear ()

Implements

Applies to

See also