ReadOnlyAttribute.No 字段

定义

指定此属性绑定到的属性是可读/写的,可以修改。 此 static 字段为只读。

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 

字段值

注解

此字段是此属性的默认设置。

将属性 ReadOnlyAttribute 标记为 “设置为 false” 时,此属性的值将设置为常量成员 No。 因此,如果要检查属性是否在代码中设置为此值,则必须将属性指定为 ReadOnlyAttribute.No

适用于

另请参阅