Aracılığıyla paylaş


Core.Choice<'T1,'T2,'T3,'T4,'T5> Birliği (F#)

Yardımcı etkin desenlerle beş farklı 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> =
| 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

Birleşim Durumları

Durum

Description

Choice1Of5, ' T1

İlk seçim.

Choice2Of5, ' T2

İkinci seçenek.

Choice3Of5, ' T3

Üçüncü seçenek.

Choice4Of5, ' T4

Dördüncü seçenek.

Choice5Of5, ' T5

Beşinci 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

Ayrıca bkz.

Başvuru

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