LanguagePrimitives.GenericEqualityWithComparer<'T> 函式 (F#)
比較兩個值是否相等。
**命名空間/模組路徑:**Microsoft.FSharp.Core.LanguagePrimitives
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
GenericEqualityWithComparer : IEqualityComparer -> 'T -> 'T -> bool (requires equality)
// Usage:
GenericEqualityWithComparer comp e1 e2
參數
comp
型別:IEqualityComparer比較子物件。
e1
型別:'T第一個值。
e2
型別:'T第二個值。
傳回值
比較的結果。
平台
Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2
版本資訊
F# 核心程式庫版本
支援版本:2.0, 4.0,可攜式執行檔 (PE)。