SortedSet<T>.Comparer プロパティ

定義

SortedSet<T>内の値の順序付けに使用されるIComparer<T> オブジェクトを取得します。

public:
 property System::Collections::Generic::IComparer<T> ^ Comparer { System::Collections::Generic::IComparer<T> ^ get(); };
public System.Collections.Generic.IComparer<T> Comparer { get; }
member this.Comparer : System.Collections.Generic.IComparer<'T>
Public ReadOnly Property Comparer As IComparer(Of T)

プロパティ値

SortedSet<T>内の値の順序付けに使用される比較子。

注釈

返される比較子には、 SortedSet<T>の型の既定の比較子、またはそのコンストラクターに使用される比較子のいずれかを指定できます。

このプロパティの値の取得は、 O(1) 操作です。

適用対象