共用方式為


CoreWebView2Environment.GetAutomationProviderForWindow(IntPtr) Method

Definition

Returns the UI Automation Provider for the CoreWebView2CompositionController that corresponds with the given hwnd.

public object GetAutomationProviderForWindow (IntPtr hwnd);
member this.GetAutomationProviderForWindow : nativeint -> obj
Public Function GetAutomationProviderForWindow (hwnd As IntPtr) As Object

Parameters

hwnd
IntPtr

nativeint

The HWND associated with the UI Automation Provider

Returns

Applies to