BindableAttribute.Default 欄位

定義

指定 BindableAttribute 的預設值,就是 NoSpecifies the default value for the BindableAttribute, which is No. 此欄位為唯讀。This field is read-only.

public: static initonly System::ComponentModel::BindableAttribute ^ Default;
public static readonly System.ComponentModel.BindableAttribute Default;
 staticval mutable Default : System.ComponentModel.BindableAttribute
Public Shared ReadOnly Default As BindableAttribute 

欄位值

備註

當您使用此值來標記屬性時, BindableAttribute會設定為常數成員。 NoWhen you mark a property with this value, the BindableAttribute is set to the constant member No. 因此,當您想要檢查程式碼中的屬性是否設定為這個值時,您必須將屬性指定為BindableAttribute.NoTherefore, when you want to check whether the attribute is set to this value in your code, you must specify the attribute as BindableAttribute.No.

適用於

另請參閱