Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ReadOnlyAttribute::Default Field

 

Specifies the default value for the ReadOnlyAttribute, which is No (that is, the property this attribute is bound to is read/write). This static field is read-only.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
static initonly ReadOnlyAttribute^ Default

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft