AutomationPeer.IsPassword Method

Definition

获取一个值,该值指示元素是否包含敏感内容。Gets a value that indicates whether the element contains sensitive content.

public:
 bool IsPassword();
public bool IsPassword ();
member this.IsPassword : unit -> bool
Public Function IsPassword () As Boolean

Returns

Boolean

如果元素包含密码等敏感内容,则为 true;否则为 falsetrue if the element contains sensitive content such as a password; otherwise, false.

Exceptions

目前正在对此方法进行公开调用。A public call to this method is currently in progress.

Applies to

See also