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)

屬性值

用來判斷資料集中的值是否相等的比較子。

備註

如果比較子會以產生衝突的方式變更,則會卸除衝突的專案,只留下集合中每個相符配對的其中一個。

適用於