Core.Choice<'T1,'T2,'T3,'T4,'T5> (Unión de F#)
Tipos auxiliares para modelos activos con cinco opciones.
Espacio de nombres/Ruta de acceso del módulo: Microsoft.FSharp.Core
Ensamblado: FSharp.Core (en 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
Casos de unión
Case |
Descripción |
---|---|
Choice1Of5 of 'T1 |
La primera opción. |
Choice2Of5 of 'T2 |
La segunda opción. |
Choice3Of5 of 'T3 |
La tercera opción. |
Choice4Of5 of 'T4 |
La cuarta opción. |
Choice5Of5 of 'T5 |
La quinta opción. |
Plataformas
Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2
Información de versiones
Runtime de F#
Se admite en las versiones: 2.0, 4.0
Silverlight
Se admite en la versión: 3