EditorBrowsableAttribute 构造函数

定义

初始化 EditorBrowsableAttribute 类的新实例。

重载

名称 说明
EditorBrowsableAttribute()

使用设置为默认状态初始化类EditorBrowsableAttribute的新实例State

EditorBrowsableAttribute(EditorBrowsableState)

使用 EditorBrowsableAttribute.. 初始化类的新实例EditorBrowsableState

EditorBrowsableAttribute()

Source:
EditorBrowsableAttribute.cs
Source:
EditorBrowsableAttribute.cs
Source:
EditorBrowsableAttribute.cs
Source:
EditorBrowsableAttribute.cs
Source:
EditorBrowsableAttribute.cs

使用设置为默认状态初始化类EditorBrowsableAttribute的新实例State

public:
 EditorBrowsableAttribute();
public EditorBrowsableAttribute();
Public Sub New ()

注解

此属性的默认值为 EditorBrowsableState.Always.

另请参阅

适用于

EditorBrowsableAttribute(EditorBrowsableState)

Source:
EditorBrowsableAttribute.cs
Source:
EditorBrowsableAttribute.cs
Source:
EditorBrowsableAttribute.cs
Source:
EditorBrowsableAttribute.cs
Source:
EditorBrowsableAttribute.cs

使用 EditorBrowsableAttribute.. 初始化类的新实例EditorBrowsableState

public:
 EditorBrowsableAttribute(System::ComponentModel::EditorBrowsableState state);
public EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState state);
new System.ComponentModel.EditorBrowsableAttribute : System.ComponentModel.EditorBrowsableState -> System.ComponentModel.EditorBrowsableAttribute
Public Sub New (state As EditorBrowsableState)

参数

state
EditorBrowsableState

EditorBrowsableState 设置为 State 的。

另请参阅

适用于