ImmutableList<T>.Clear Metod

Definition

Tar bort alla element från den oföränderliga listan.

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)

Returer

En tom lista som behåller samma sortering eller osorterade semantik som den här instansen har.

Gäller för