Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AutomationElement.AutomationElementInformation.NativeWindowHandle Property

Definition

Namespace:
System.Windows.Automation
Assembly:
UIAutomationClient.dll

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.

Gets the handle of the element's window.

public:
 property int NativeWindowHandle { int get(); };
public int NativeWindowHandle { get; }
member this.NativeWindowHandle : int
Public ReadOnly Property NativeWindowHandle As Integer

Property Value

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

Remarks

For more information, see NativeWindowHandleProperty.

Applies to


Feedback

Was this page helpful?