ImmutableHashSet<T>.ICollection<T>.Clear Metoda

Definicja

Usuwa wszystkie elementy z tego zestawu.

 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

Implementuje

Wyjątki

Zestaw jest tylko do odczytu.

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ImmutableHashSet<T> wystąpienie jest rzutowe do interfejsu ICollection<T> .

Dotyczy