Επεξεργασία

Κοινή χρήση μέσω


IImmutableList<T>.Clear Method

Definition

Creates a list with all the items removed, but with the same sorting and ordering semantics as this list.

public:
 System::Collections::Immutable::IImmutableList<T> ^ Clear();
public System.Collections.Immutable.IImmutableList<T> Clear ();
abstract member Clear : unit -> System.Collections.Immutable.IImmutableList<'T>
Public Function Clear () As IImmutableList(Of T)

Returns

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

Applies to