含有 3 个选项的活动模式的帮助器类型。
命名空间/模块路径: Microsoft.FSharp.Core
程序集:FSharp.Core(在 FSharp.Core.dll 中)
[<StructuralEquality>]
[<StructuralComparison>]
type Choice<'T1,'T2,'T3> =
| Choice1Of3 of 'T1
| Choice2Of3 of 'T2
| Choice3Of3 of 'T3
 with
  interface IStructuralEquatable
  interface IComparable
  interface IComparable
  interface IStructuralComparable
 end
联合用例
| Case | 说明 | 
|---|---|
| 'T1 的 Choice1Of3 | 第一个选择。 | 
| 'T2 的 Choice2Of3 | 第二个选择。 | 
| 'T3 的 Choice3Of3 | 第三个选择。 | 
平台
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