Rediger

Del via


ImmutableHashSet<T>.IImmutableSet<T>.Clear Method

Definition

Retrieves an empty 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 or ordering semantics as this instance.

Implements

Remarks

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

Applies to