System.ComponentModel.ReadOnlyAttribute.No Field

Specifies that the property this attribute is bound to is read/write and can be modified. This static field is read-only.

Syntax

public static readonly ReadOnlyAttribute No

Remarks

This field is the default setting for this attribute.

When you mark a property with the System.ComponentModel.ReadOnlyAttribute set to false, the value of this attribute is set to the constant member ReadOnlyAttribute.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.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0