Share via


AutomationElement.FromHandle(IntPtr) Metodo

Definizione

Recupera un nuovo AutomationElement oggetto per l'elemento dell'interfaccia utente a cui fa riferimento l'handle di finestra specificato.

public:
 static System::Windows::Automation::AutomationElement ^ FromHandle(IntPtr hwnd);
public static System.Windows.Automation.AutomationElement FromHandle (IntPtr hwnd);
static member FromHandle : nativeint -> System.Windows.Automation.AutomationElement
Public Shared Function FromHandle (hwnd As IntPtr) As AutomationElement

Parametri

hwnd
IntPtr

nativeint

Handle dell'elemento dell'interfaccia utente.

Restituisce

AutomationElement

Oggetto AutomationElement per l'elemento dell'interfaccia utente identificato da hwnd.

Si applica a

Vedi anche