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

Definición

Devuelve el conjunto ordenado inmutable que dispone del comparador de claves 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>

Comparador que se va buscar.

Devoluciones

Conjunto ordenado inmutable que dispone del comparador de claves especificado.

Comentarios

Paquete NuGet System.Collections.Immutable

Acerca de las colecciones inmutables y cómo instalar

Se aplica a