ClientSideProviderFactoryCallback 委托

定义

表示为窗口创建客户端UI 自动化提供程序的方法。

public delegate System::Windows::Automation::Provider::IRawElementProviderSimple ^ ClientSideProviderFactoryCallback(IntPtr hwnd, int idChild, int idObject);
public delegate System.Windows.Automation.Provider.IRawElementProviderSimple ClientSideProviderFactoryCallback(IntPtr hwnd, int idChild, int idObject);
type ClientSideProviderFactoryCallback = delegate of nativeint * int * int -> IRawElementProviderSimple
Public Delegate Function ClientSideProviderFactoryCallback(hwnd As IntPtr, idChild As Integer, idObject As Integer) As IRawElementProviderSimple 

参数

hwnd
IntPtr

nativeint

为其创建提供程序的窗口。

idChild
Int32

对象的子 ID。

idObject
Int32

对象的 ID。

返回值

示例

有关示例代码,请参阅 创建 Client-Side UI 自动化 提供程序

扩展方法

名称 说明
GetMethodInfo(Delegate)

获取一个对象,该对象表示由指定委托表示的方法。

适用于