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

Tipi helper per modelli attivi con sette scelte.

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

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

Case

Descrizione

Choice1Of7 di 'T1

La prima scelta.

Choice2Of7 di 'T2

La seconda scelta.

Choice3Of7 di 'T3

La terza scelta.

Choice4Of7 di 'T4

La quarta scelta.

Choice5Of7 di 'T5

Quinta scelta.

Choice6Of7 di 'T6

Sesta scelta.

Choice7Of7 di 'T7

La settima scelta.

Piattaforme

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Informazioni sulla versione

Versioni della libreria di base F#

Supportato in: 2,0, 4,0, portabile

Vedere anche

Riferimenti

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