Core.Choice<'T1,'T2,'T3,'T4,'T5,'T6,'T7> 共用体 (F#)

7 つの選択肢を持つアクティブ パターンのヘルパー型。

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

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

[<StructuralEquality>]
[<StructuralComparison>]
type Choice<'T1,'T2,'T3,'T4,'T5,'T6,'T7> =
| Choice1Of7 of 'T1
| Choice2Of7 of 'T2
| Choice3Of7 of 'T3
| Choice4Of7 of 'T4
| Choice5Of7 of 'T5
| Choice6Of7 of 'T6
| Choice7Of7 of 'T7
 with
  interface IStructuralEquatable
  interface IComparable
  interface IComparable
  interface IStructuralComparable
 end

共用体ケース

Case

説明

Choice1Of7 of 'T1

最初の選択肢。

Choice2Of7 of 'T2

2 番目の選択肢。

Choice3Of7 of 'T3

3 番目の選択肢。

Choice4Of7 of 'T4

4 番目の選択肢。

Choice5Of7 of 'T5

5 番目の選択肢。

Choice6Of7 of 'T6

6 番目の選択肢。

Choice7Of7 of 'T7

7 番目の選択肢。

プラットフォーム

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

バージョン情報

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

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

参照

関連項目

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