Core.Choice<'T1,'T2,'T3,'T4,'T5,'T6> Bileşimi (F#)
Yardımcı etkin desenlerle altı seçenek türlerinde.
Ad alanı/modül yolu: Microsoft.FSharp.Core
Derleme: FSharp.Core (FSharp.Core.dll),
[<StructuralEquality>]
[<StructuralComparison>]
type Choice<'T1,'T2,'T3,'T4,'T5,'T6> =
| Choice1Of6 of 'T1
| Choice2Of6 of 'T2
| Choice3Of6 of 'T3
| Choice4Of6 of 'T4
| Choice5Of6 of 'T5
| Choice6Of6 of 'T6
with
interface IStructuralEquatable
interface IComparable
interface IComparable
interface IStructuralComparable
end
Birleşim Durumları
Durum |
Description |
---|---|
Choice1Of6'ın ' T1 |
İlk seçim. |
Choice2Of6'ın ' T2 |
İkinci seçenek. |
Choice3Of6'ın ' T3 |
Üçüncü seçenek. |
Choice4Of6'ın ' T4 |
Dördüncü seçenek. |
Choice5Of6, ' T5 |
Beşinci seçim. |
Choice6Of6, ' T6 |
Altıncı seçim. |
Platformlar
Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
Sürüm Bilgisi
F# Çekirdek Kitaplığı sürümleri
Desteklenen: 2.0, 4.0, Portable