PasswordPropertyTextAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 PasswordPropertyTextAttribute 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| PasswordPropertyTextAttribute() |
初始化 PasswordPropertyTextAttribute 类的新实例。 |
| PasswordPropertyTextAttribute(Boolean) |
初始化类的新实例 PasswordPropertyTextAttribute ,可以选择显示密码文本。 |
PasswordPropertyTextAttribute()
初始化 PasswordPropertyTextAttribute 类的新实例。
public:
PasswordPropertyTextAttribute();
public PasswordPropertyTextAttribute();
Public Sub New ()
适用于
PasswordPropertyTextAttribute(Boolean)
初始化类的新实例 PasswordPropertyTextAttribute ,可以选择显示密码文本。
public:
PasswordPropertyTextAttribute(bool password);
public PasswordPropertyTextAttribute(bool password);
new System.ComponentModel.PasswordPropertyTextAttribute : bool -> System.ComponentModel.PasswordPropertyTextAttribute
Public Sub New (password As Boolean)
参数
- password
- Boolean
true 指示属性应显示为密码文本;否则,为 false. 默认值为 false。