Aracılığıyla paylaş


Core.Choice<'T1,'T2,'T3> Birleşimi (F#)

Üç seçenek active desenlerle için yardımcı türleri.

Ad alanı/modül yolu: Microsoft.FSharp.Core

Derleme: FSharp.Core (FSharp.Core.dll),

[<StructuralEquality>]
[<StructuralComparison>]
type Choice<'T1,'T2,'T3> =
| Choice1Of3 of 'T1
| Choice2Of3 of 'T2
| Choice3Of3 of 'T3
 with
  interface IStructuralEquatable
  interface IComparable
  interface IComparable
  interface IStructuralComparable
 end

Birleşim Durumları

Durum

Description

Choice1Of3, ' T1

İlk seçim.

Choice2Of3, ' T2

İkinci seçenek.

Choice3Of3, ' T3

Üçüncü 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

Ayrıca bkz.

Başvuru

Microsoft.FSharp.Core İsim Uzayı (F#)