Core.Choice<'T1,'T2> Birleşimi (F#)
Yardımcı etkin desenli iki seçenek türlerinde.
Ad alanı/modül yol: Microsoft.FSharp.Core
Derleme: FSharp.Core (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
Birleşim Durumları
Durum |
Description |
---|---|
Choice1Of2, ' T1 |
İlk seçim. |
Choice2Of2, ' T2 |
İkinci seçenek. |
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