संपादित करें

इसके माध्यम से साझा किया गया


ImmutableList<T>.Clear Method

Definition

Removes all elements from the immutable list.

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

Returns

An empty list that retains the same sort or unordered semantics that this instance has.

Applies to