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)

属性值

用于获取键的哈希代码并检查相等性的比较器。

适用于