ImmutableSortedSet<T>.WithComparer(IComparer<T>) Método

Definição

Retorna o conjunto classificado imutável que tem o comparador de chave especificado.

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)

Parâmetros

comparer
IComparer<T>

O comparador a ser usado para verificar.

Retornos

O conjunto classificado imutável que tem o comparador de chave especificado.

Comentários

Pacote NuGet System.Collections.Imutable

Sobre coleções imutáveis e como instalar

Aplica-se a