AutomationPeer.IsPassword 方法

定義

取得值,這個值表示項目是否包含敏感性內容。

public:
 virtual bool IsPassword() = IsPassword;
bool IsPassword();
public bool IsPassword();
function isPassword()
Public Function IsPassword () As Boolean

傳回

Boolean

bool

如果專案包含機密內容,例如密碼,則為true;否則為false

備註

此屬性可讓螢幕助讀程式之類的應用程式判斷控制項的文字內容是否應該大聲朗讀。

適用於