Share via


AutomationElement.FrameworkIdProperty フィールド

定義

FrameworkId プロパティを識別します。

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

フィールド値

AutomationProperty

次の例では、プロパティの現在の値を取得します。

string frameworkId =
   autoElement.GetCurrentPropertyValue(AutomationElement.FrameworkIdProperty)
   as string;
Dim frameworkId As String = _
    CStr(autoElement.GetCurrentPropertyValue(AutomationElement.FrameworkIdProperty))

注釈

この識別子は、クライアント アプリケーションUI オートメーション使用されます。 UI オートメーション プロバイダーでは、同等の識別子AutomationElementIdentifiersを使用する必要があります。

プロパティの戻り値は型 Stringです。 既定値は空の文字列です。

このプロパティを使用すると、アプリケーションは UI フレームワーク全体に特別なケースを適用できます。 プロパティ値の例として、"Win32"、"WinForm"、"DirectUI" があります。

適用対象

こちらもご覧ください