Core.Choice<'T1,'T2,'T3,'T4,'T5> 공용 구조체(F#)
5개의 선택 항목이 있는 활성 패턴의 도우미 형식입니다.
네임스페이스/모듈 경로: Microsoft.FSharp.Core
어셈블리: 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
공용 구조체 케이스
Case |
설명 |
---|---|
Choice1Of5 of 'T1 |
첫 번째 선택입니다. |
Choice2Of5 of 'T2 |
두 번째 선택입니다. |
Choice3Of5 of 'T3 |
세 번째 선택입니다. |
Choice4Of5 of 'T4 |
네 번째 선택입니다. |
Choice5Of5 of 'T5 |
다섯 번째 선택입니다. |
플랫폼
Windows Windows 서버 2012, Windows Server 2008 R2, Windows 7, 8
버전 정보
F# 코어 라이브러리 버전
지원: 2.0, 4.0, 노트북