AutomationElement.AutomationElementInformation.NativeWindowHandle Property

Definition

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