BrowsableAttribute.No 字段

定义

指定在设计时无法修改属性或事件。 此 static 字段为只读。

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

字段值

注解

使用值的false构造函数标记属性BrowsableAttribute时,此属性设置为常量成员No。 因此,在代码中检查属性是否设置为此值时,必须将属性指定为 BrowsableAttribute.No

适用于

另请参阅