الإتحاد <Core.Choice < ' T1 ،' T2
أنواع المساعد للأنماط النشطة بإختياران.
مساحة الاسم/مسار الوحدة النمطية: 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
حالات اتحاد
الحالة |
الوصف |
---|---|
Choice1Of2 لT1' |
|
Choice2Of2 ل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