共用方式為


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>

新的相等比較子。

適用於