SortedList<TKey,TValue>.Comparer Propriété
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.
Obtient IComparer<T> pour la liste triée.
public:
property System::Collections::Generic::IComparer<TKey> ^ Comparer { System::Collections::Generic::IComparer<TKey> ^ get(); };
public System.Collections.Generic.IComparer<TKey> Comparer { get; }
member this.Comparer : System.Collections.Generic.IComparer<'Key>
Public ReadOnly Property Comparer As IComparer(Of TKey)
Valeur de propriété
IComparable<T> pour la SortedList<TKey,TValue> actuelle.
Remarques
La récupération de la valeur de cette propriété est une opération O(1).