แก้ไข

แชร์ผ่าน


ReadOnlyAttribute.No Field

Definition

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

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

Field Value

Remarks

This field is the default setting for this attribute.

When you mark a property with the ReadOnlyAttribute set to false, the value of 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.

Applies to

See also