ImmutableHashSet<T>.ICollection<T>.Clear Metod

Definition

Tar bort alla objekt från den här uppsättningen.

 virtual void System.Collections.Generic.ICollection<T>.Clear() = System::Collections::Generic::ICollection<T>::Clear;
void ICollection<T>.Clear();
abstract member System.Collections.Generic.ICollection<T>.Clear : unit -> unit
override this.System.Collections.Generic.ICollection<T>.Clear : unit -> unit
Sub Clear () Implements ICollection(Of T).Clear

Implementeringar

Undantag

Uppsättningen är skrivskyddad.

Kommentarer

Den här medlemmen är en explicit implementering av gränssnittsmedlemmar. Den kan endast användas när instansen ImmutableHashSet<T> skickas till ett ICollection<T> gränssnitt.

Gäller för