IImmutableList<T>.Clear Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.