ImmutableHashSet<T>.KeyComparer 屬性

定義

取得物件,此物件用來取得索引鍵的雜湊程式碼,並檢查不可變雜湊集中的值是否相等。

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

屬性值

用來取得索引鍵的雜湊程式碼,並檢查是否相等的比較子。

適用於