Επεξεργασία

Κοινή χρήση μέσω


BrowsableAttribute.Yes Field

Definition

Specifies that a property or event can be modified at design time. This static field is read-only.

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

Field Value

Remarks

This field is the default setting for this attribute.

When you mark a property with the BrowsableAttribute constructor of the value true, this attribute is set to the constant member Yes. Therefore, when you check whether the attribute is set to this value in your code, you must specify the attribute as BrowsableAttribute.Yes.

Applies to

See also