ReadOnlyAttribute.Default 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定默认值 ReadOnlyAttribute( No 即此属性绑定到的属性为读/写)。 此 static 字段为只读。
public: static initonly System::ComponentModel::ReadOnlyAttribute ^ Default;
public static readonly System.ComponentModel.ReadOnlyAttribute Default;
staticval mutable Default : System.ComponentModel.ReadOnlyAttribute
Public Shared ReadOnly Default As ReadOnlyAttribute
字段值
注解
使用此值标记属性时,此属性设置为常量成员 No。 因此,如果要检查属性是否在代码中设置为此值,则必须将属性指定为 ReadOnlyAttribute.No。