IProperty.CreateKeyEqualityComparer<TProperty> 方法

定义

IEqualityComparer<T>为给定属性类型的值创建 。

public virtual System.Collections.Generic.IEqualityComparer<TProperty> CreateKeyEqualityComparer<TProperty> ();
abstract member CreateKeyEqualityComparer : unit -> System.Collections.Generic.IEqualityComparer<'Property>
override this.CreateKeyEqualityComparer : unit -> System.Collections.Generic.IEqualityComparer<'Property>
Public Overridable Function CreateKeyEqualityComparer(Of TProperty) () As IEqualityComparer(Of TProperty)

类型参数

TProperty

属性类型。

返回

IEqualityComparer<TProperty>

新的相等比较器。

适用于