AutomationElement.AutomationElementInformation.IsPassword 屬性

定義

取得值,這個值表示 UI 自動化專案是否包含受保護的內容。

public:
 property bool IsPassword { bool get(); };
public bool IsPassword { get; }
member this.IsPassword : bool
Public ReadOnly Property IsPassword As Boolean

屬性值

true 表示項目包含受保護的內容,否則為 false

備註

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

如需詳細資訊,請參閱IsPasswordProperty

適用於