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.PasswordPropertyTextAttributePublic Sub New (password As Boolean)参数
- password
- Boolean
若要指示属性应作为密码文本显示,则为 true;否则为 false。 默认值为 false。