AutomationElement.FrameworkIdProperty Feld

Definition

Identifies the FrameworkId property.

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 

Feldwert

Beispiele

Im folgenden Beispiel wird der aktuelle Wert der Eigenschaft abgerufen.

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

Hinweise

Dieser Bezeichner wird von Benutzeroberflächenautomatisierung Clientanwendungen verwendet. Benutzeroberflächenautomatisierung Anbieter sollten den entsprechenden Bezeichner in AutomationElementIdentifiers verwenden.

Rückgabewerte der Eigenschaft sind vom Typ String. Der Standardwert ist eine leere Zeichenfolge.

Diese Eigenschaft ermöglicht Anwendungen das Anwenden von Sonderfällen auf gesamte UI-Frameworks. Beispiele für Eigenschaftswerte sind "Win32", "WinForm" und "DirectUI".

Gilt für:

Weitere Informationen