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

Tipi helper per modelli attivi con cinque scelte.

Percorso spazio dei nomi/modulo: Microsoft.FSharp.Core

Assembly: FSharp.Core (in 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 di unione

Case

Oggetto di descrizione

Choice1Of5 of 'T1

La prima scelta.

Choice2Of5 of 'T2

La seconda scelta.

Choice3Of5 of 'T3

La terza scelta.

Choice4Of5 of 'T4

La quarta scelta.

Choice5Of5 of 'T5

Quinta scelta.

Piattaforme

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2.

Informazioni sulla versione

F# Runtime

Supportato in: 2.0, 4.0

Silverlight

Supportato in: 3

Vedere anche

Riferimenti

Spazio dei nomi Microsoft.FSharp.Core (F#)