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)

適用対象