Share via


AutomationElement.FrameworkIdProperty Campo

Definizione

Identifica la proprietà 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 

Valore del campo

AutomationProperty

Esempio

Nell'esempio seguente viene recuperato il valore corrente della proprietà.

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

Commenti

Questo identificatore viene usato dalle applicazioni client Automazione interfaccia utente. Automazione interfaccia utente provider devono usare l'identificatore equivalente in AutomationElementIdentifiers.

I valori restituiti della proprietà sono di tipo String. Il valore predefinito è una stringa vuota.

Questa proprietà consente alle applicazioni di applicare casi speciali a interi framework dell'interfaccia utente. Esempi di valori delle proprietà sono "Win32", "WinForm" e "DirectUI".

Si applica a

Vedi anche