Share via


Core.Choice<'T1,'T2>-Union (F#)

Hilfstypen für aktive Muster mit zwei Optionen.

Namespace/Modulpfad: Microsoft.FSharp.Core

Assembly: FSharp.Core (in FSharp.Core.dll)

[<StructuralEquality>]
[<StructuralComparison>]
type Choice<'T1,'T2> =
| Choice1Of2 of 'T1
| Choice2Of2 of 'T2
 with
  interface IStructuralEquatable
  interface IComparable
  interface IComparable
  interface IStructuralComparable
 end

Union-Fälle

Case

Beschreibungen

Choice1Of2 von 'T1

Die erste Auswahl.

Choice2Of2 von 'T2

Die zweite Auswahl.

Plattformen

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

Versionsinformationen

F#-Runtime

Unterstützt in: 2.0, 4.0

Silverlight

Unterstützt in: 3

Siehe auch

Weitere Ressourcen

Microsoft.FSharp.Core-Namespace (F#)