ImmutableSortedSet<T>.WithComparer(IComparer<T>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne l’ensemble trié immuable ayant le comparateur de clé spécifié.
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)
Paramètres
- comparer
- IComparer<T>
Comparateur à vérifier.
Retours
Ensemble trié immuable doté du comparateur de clé spécifié.
Remarques
Package NuGet System.Collections.Immutable
À propos des collections immuables et de l’installation