UsableDuringInitializationAttribute(Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the UsableDuringInitializationAttribute class.
public:
UsableDuringInitializationAttribute(bool usable);
public UsableDuringInitializationAttribute (bool usable);
new System.Windows.Markup.UsableDuringInitializationAttribute : bool -> System.Windows.Markup.UsableDuringInitializationAttribute
Public Sub New (usable As Boolean)
Parameters
- usable
- Boolean
Defines whether the associated class is usable during initialization.
Remarks
This attribute inherits. For the initial application you would typically apply as [UsableDuringInitialization(true)]
, but you could then set [UsableDuringInitialization(false)]
on a derived class to change the derived class reporting of the behavior.
Applies to
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ