IUITechnologyManager.GetElementFromWindowHandle(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the element that is identified by the provided window handle.
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
Parameters
Returns
The specified element.
- Attributes