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)

属性值

IEqualityComparer<T>

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

适用于