ImmutableSortedSet<T>.WithComparer(IComparer<T>) Metoda

Definicja

Zwraca niezmienny zestaw posortowany, który ma określony moduł porównujący klucz.

public:
 System::Collections::Immutable::ImmutableSortedSet<T> ^ WithComparer(System::Collections::Generic::IComparer<T> ^ comparer);
public System.Collections.Immutable.ImmutableSortedSet<T> WithComparer (System.Collections.Generic.IComparer<T> comparer);
public System.Collections.Immutable.ImmutableSortedSet<T> WithComparer (System.Collections.Generic.IComparer<T>? comparer);
member this.WithComparer : System.Collections.Generic.IComparer<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function WithComparer (comparer As IComparer(Of T)) As ImmutableSortedSet(Of T)

Parametry

comparer
IComparer<T>

Narzędzie porównujące do sprawdzania.

Zwraca

Niezmienialny zestaw posortowany, który ma określony moduł porównujący klucz.

Uwagi

System.Collections.Niezmienny pakiet NuGet

Informacje o niezmiennych kolekcjach i sposobie instalowania

Dotyczy