SortedList<TKey,TValue>.Comparer Właściwość

Definicja

Pobiera element IComparer<T> dla posortowanej listy.

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)

Wartość właściwości

IComparer<TKey>

Element IComparable<T> dla bieżącego SortedList<TKey,TValue>.

Uwagi

Pobieranie wartości tej właściwości jest operacją O(1).

Dotyczy