Bewerken

Share via


ImmutableArray<T>.IImmutableList<T>.Clear Method

Definition

Returns an array with all the elements removed.

 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 ();
abstract member System.Collections.Immutable.IImmutableList<T>.Clear : unit -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.Clear : unit -> System.Collections.Immutable.IImmutableList<'T>
Function Clear () As IImmutableList(Of T) Implements IImmutableList(Of T).Clear

Returns

An array with all the elements removed.

Implements

Remarks

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

Applies to