ImmutableSortedSet<T>.Builder.KeyComparer プロパティ

定義

変更できない並べ替えられたセット内の値の等価性を判断するために使用されるオブジェクトを取得または設定します。

public:
 property System::Collections::Generic::IComparer<T> ^ KeyComparer { System::Collections::Generic::IComparer<T> ^ get(); void set(System::Collections::Generic::IComparer<T> ^ value); };
public System.Collections.Generic.IComparer<T> KeyComparer { get; set; }
member this.KeyComparer : System.Collections.Generic.IComparer<'T> with get, set
Public Property KeyComparer As IComparer(Of T)

プロパティ値

セット内の値の等価性を判断するために使用される比較子。

注釈

競合が発生する方法で比較子が変更された場合、競合する要素は削除され、コレクション内の一致するペアの 1 つだけが残ります。

適用対象