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

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

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

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

[<StructuralEquality>]
[<StructuralComparison>]
type Choice<'T1,'T2,'T3,'T4,'T5> =
| Choice1Of5 of 'T1
| Choice2Of5 of 'T2
| Choice3Of5 of 'T3
| Choice4Of5 of 'T4
| Choice5Of5 of 'T5
 with
  interface IStructuralEquatable
  interface IComparable
  interface IComparable
  interface IStructuralComparable
 end

共用体ケース

Case

説明

Choice1Of5 of 'T1

最初の選択肢。

Choice2Of5 of 'T2

2 番目の選択肢。

Choice3Of5 of 'T3

3 番目の選択肢。

Choice4Of5 of 'T4

4 番目の選択肢。

Choice5Of5 of 'T5

5 番目の選択肢。

プラットフォーム

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

バージョン情報

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

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

参照

関連項目

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