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 |
Description |
---|---|
Choice1Of2 von 'T1 |
Die erste Auswahl. |
Choice2Of2 von 'T2 |
Die zweite Auswahl. |
Plattformen
Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
Versionsinformationen
F#-Kern-Bibliotheks-Versionen
Unterstützt in: 2,0, 4,0, portablen