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.