Redigera

Dela via


ImmutableSortedSet<T>.IImmutableSet<T>.Clear Method

Definition

Retrieves an empty immutable set that has the same sorting and ordering semantics as this instance.

 virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Clear() = System::Collections::Immutable::IImmutableSet<T>::Clear;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Clear ();
abstract member System.Collections.Immutable.IImmutableSet<T>.Clear : unit -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.Clear : unit -> System.Collections.Immutable.IImmutableSet<'T>
Function Clear () As IImmutableSet(Of T) Implements IImmutableSet(Of T).Clear

Returns

An empty set that has the same sorting and ordering semantics as this instance.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableSortedSet<T> instance is cast to an IImmutableSet<T> interface.

System.Collections.Immutable NuGet package

About immutable collections and how to install

Applies to