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

Definice

Vrátí neměnnou seřazenou sadu, která má zadaný porovnávací nástroj klíčů.

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>

Porovnávače, který chcete zkontrolovat.

Návraty

Neměnná seřazená sada, která má zadaný porovnávací nástroj klíčů.

Poznámky

Balíček NuGet System.Collections.Immutable

Informace o neměnných kolekcích a postupu instalace

Platí pro