ImmutableList<T>.IImmutableList<T>.Clear Method

Definition

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

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.Clear() = System::Collections::Immutable::IImmutableList<T>::Clear;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.Clear ();
Function Clear () As IImmutableList(Of T) Implements IImmutableList(Of T).Clear

Returns

An empty list 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 ImmutableList<T> instance is cast to an IImmutableList<T> interface.

Applies to