IUITechnologyManager.GetElementFromWindowHandle(IntPtr) Méthode

Définition

Récupère l'élément identifié par le handle de fenêtre fourni.

public:
 Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetElementFromWindowHandle(IntPtr handle);
[System.Runtime.InteropServices.DispId(6)]
public Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetElementFromWindowHandle (IntPtr handle);
[<System.Runtime.InteropServices.DispId(6)>]
abstract member GetElementFromWindowHandle : nativeint -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public Function GetElementFromWindowHandle (handle As IntPtr) As IUITechnologyElement

Paramètres

handle
IntPtr

IntPtr qui identifie un élément existant.

Retours

IUITechnologyElement

Élément spécifié.

Attributs

S’applique à