다음을 통해 공유


Core.Choice<'T1,'T2,'T3,'T4> 공용 구조체(F#)

4개의 선택 항목이 있는 활성 패턴의 도우미 형식입니다.

네임스페이스/모듈 경로: Microsoft.FSharp.Core

어셈블리: FSharp.Core(FSharp.Core.dll)

[<StructuralEquality>]
[<StructuralComparison>]
type Choice<'T1,'T2,'T3,'T4> =
| Choice1Of4 of 'T1
| Choice2Of4 of 'T2
| Choice3Of4 of 'T3
| Choice4Of4 of 'T4
 with
  interface IStructuralEquatable
  interface IComparable
  interface IComparable
  interface IStructuralComparable
 end

공용 구조체 케이스

Case

설명

Choice1Of4 of 'T1

첫 번째 선택입니다.

Choice2Of4 of 'T2

두 번째 선택입니다.

Choice3Of4 of 'T3

세 번째 선택입니다.

Choice4Of4 of 'T4

네 번째 선택입니다.

플랫폼

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

버전 정보

F# 런타임

지원되는 버전: 2.0, 4.0

Silverlight

지원되는 버전: 3

참고 항목

참조

Microsoft.FSharp.Core 네임스페이스(F#)