次の方法で共有


Core.StructuralComparisonAttribute クラス (F#)

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

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

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

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

解説

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

コンストラクター

メンバー

説明

new

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

プラットフォーム

Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2

バージョン情報

F# ランタイム

サポート対象: 2.0、4.0

Silverlight

サポート: 3

参照

その他の技術情報

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