Share via


SortedList<TKey,TValue>.Comparer Özellik

Tanım

IComparer<T> Sıralanmış listenin öğesini alır.

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)

Özellik Değeri

IComparer<TKey>

IComparable<T> Geçerli SortedList<TKey,TValue>için .

Açıklamalar

Bu özelliğin değerini almak bir O(1) işlemidir.

Şunlara uygulanır