Share via


AutomationElement.IsPasswordProperty 필드

정의

IsPassword 속성을 식별합니다.

public: static initonly System::Windows::Automation::AutomationProperty ^ IsPasswordProperty;
public static readonly System.Windows.Automation.AutomationProperty IsPasswordProperty;
 staticval mutable IsPasswordProperty : System.Windows.Automation.AutomationProperty
Public Shared ReadOnly IsPasswordProperty As AutomationProperty 

필드 값

AutomationProperty

예제

다음 예제에서는 속성의 현재 값을 검색 합니다.

bool isTextPassword = (bool)
   autoElement.GetCurrentPropertyValue(AutomationElement.IsPasswordProperty);
Dim isTextPassword As Boolean = CBool(autoElement.GetCurrentPropertyValue(AutomationElement.IsPasswordProperty))

설명

이 식별자는 UI 자동화 클라이언트 애플리케이션에서 사용 됩니다. UI 자동화 공급자에서 해당 식별자를 사용 해야 AutomationElementIdentifiers합니다.

이 속성을 검색할 수도 있습니다는 Current 또는 Cached 속성입니다.

이 속성에 대 한 반환 값은 한 Boolean합니다. 반환 true 이 고 그렇지 않으면 보호 된 콘텐츠 임을 나타내려면 false합니다.

적용 대상

추가 정보