共用方式為


RelayEqualityComparer<T> 建構函式

命名空間:  Microsoft.TeamFoundation.Controls
組件:  Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)

語法

'宣告
Public Sub New ( _
    equals As Func(Of T, T, Boolean), _
    getHashCode As Func(Of T, Integer) _
)
public RelayEqualityComparer(
    Func<T, T, bool> equals,
    Func<T, int> getHashCode
)

參數

.NET Framework 安全性

請參閱

參考

RelayEqualityComparer<T> 類別

Microsoft.TeamFoundation.Controls 命名空間