語言

SortedList<TKey,TValue>.Comparer 屬性

定義

會因為排序清單而獲得。IComparer<T>

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)

屬性值

IComparer<TKey>

對於 IComparable<T> 目前 SortedList<TKey,TValue>的 。

備註

取得此性質的值為 O(1) 運算。

適用於