الدالة الإنشائية Core.DefaultValueAttribute
إنشاء مثيل من السمة
مساحة الاسم/مسار الوحدة النمطية: Microsoft.FSharp.Core
التجميع: FSharp.Core (في FSharp.Core.dll)
// Signatures:
new DefaultValueAttribute : bool -> DefaultValueAttribute
new DefaultValueAttribute : unit -> DefaultValueAttribute
// Usage:
new DefaultValueAttribute (check)
new DefaultValueAttribute ()
المعلمات
check
اكتب: boolالإشارة إلى ما إذا كان صواب تأكيد أن يعتمد نوع الحقل null.
القيمة المُرجعة
DefaultValueAttribute
الأنظمة الأساسية
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