다음을 통해 공유


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

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

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

어셈블리: 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

공용 구조체 케이스

Case

설명

Choice1Of2 of 'T1

첫 번째 선택입니다.

Choice2Of2 of 'T2

두 번째 선택입니다.

플랫폼

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#)