Core.StructuralComparisonAttribute クラス (F#)

この属性をレコード、共用体、例外、または構造体の型に追加すると、その型に対して IComparable の実装が確実に自動生成されます。

名前空間/モジュール パス: Microsoft.FSharp.Core

アセンブリ: FSharp.Core (FSharp.Core.dll 内)

[<AttributeUsage(AttributeTargets.Class, AllowMultiple = false)>]
[<Sealed>]
type StructuralComparisonAttribute =
 class
  new StructuralComparisonAttribute : unit -> StructuralComparisonAttribute
 end

解説

短縮形の名前である StructuralComparison も使用できます。

コンストラクター

メンバー

説明

new

属性のインスタンスを作成します。

プラットフォーム

Windows 8、Windows 7、Windows Server 2012 で Windows Server 2008 R2

バージョン情報

F# コア ライブラリのバージョン

サポート: ポータブル 2.0、4.0

参照

関連項目

Microsoft.FSharp.Core 名前空間 (F#)