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を使用する必要があります。

このプロパティは、プロパティCachedからCurrent取得することもできます。

このプロパティの戻り値は Boolean. コンテンツが true 保護されていることを示すために返されます。それ以外の場合 falseは .

適用対象

こちらもご覧ください