Redigeeri

Jagamisviis:


ImmutableSortedSet<T>.Clear Method

Definition

Removes all elements from the immutable sorted set.

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

Returns

An empty set with the elements removed.

Remarks

System.Collections.Immutable NuGet package

About immutable collections and how to install

Applies to