AutomationElement::AutomationElementInformation::NativeWindowHandle Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the handle of the element's window.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

public:
property int NativeWindowHandle {
	int get();
}

Property Value

Type: System::Int32

The handle of the window, if one exists; otherwise 0.

For more information, see NativeWindowHandleProperty.

.NET Framework
Available since 3.0
Return to top
Show: