Core.CustomComparisonAttribute クラス (F#)
この属性を型に追加すると、その型にユーザー定義の比較が実装されていることを示します。
名前空間/モジュール パス: Microsoft.FSharp.Core
アセンブリ: FSharp.Core (FSharp.Core.dll 内)
[<AttributeUsage(AttributeTargets.Class ||| AttributeTargets.Struct, AllowMultiple = false)>]
[<Sealed>]
type CustomComparisonAttribute =
class
new CustomComparisonAttribute : unit -> CustomComparisonAttribute
end
解説
短縮形の名前である CustomComparison も使用できます。
コンストラクター
メンバー |
説明 |
---|---|
属性のインスタンスを作成します。 |
プラットフォーム
Windows 8、Windows 7、Windows Server 2012 で Windows Server 2008 R2
バージョン情報
F# コア ライブラリのバージョン
サポート: ポータブル 2.0、4.0