ClientSideProviderFactoryCallback 委托

定义

表示创建窗口的客户端 UI 自动化提供程序的方法。Represents the method that creates a client-side UI Automation provider for a window.

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

为其创建提供程序的窗口。The window for which the provider is created.

idChild
Int32

对象的子 ID。The child ID of the object.

idObject
Int32

对象的 ID。The ID of the object.

返回值

IRawElementProviderSimple
继承
ClientSideProviderFactoryCallback

示例

有关代码示例, 请参阅创建客户端 UI 自动化提供程序For example code, see Create a Client-Side UI Automation Provider.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于