BrowsableAttribute.Default Field


Specifies the default value for the BrowsableAttribute, which is Yes. This static field is read-only.

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

Field Value



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

Applies to

See also