CoreAutomationRemoteOperation.ImportConnectionBoundObject 方法

定义

AutomationConnectionBoundObject 导入到此远程操作中。

public:
 virtual void ImportConnectionBoundObject(AutomationRemoteOperationOperandId operandId, AutomationConnectionBoundObject ^ connectionBoundObject) = ImportConnectionBoundObject;
void ImportConnectionBoundObject(AutomationRemoteOperationOperandId const& operandId, AutomationConnectionBoundObject const& connectionBoundObject);
public void ImportConnectionBoundObject(AutomationRemoteOperationOperandId operandId, AutomationConnectionBoundObject connectionBoundObject);
function importConnectionBoundObject(operandId, connectionBoundObject)
Public Sub ImportConnectionBoundObject (operandId As AutomationRemoteOperationOperandId, connectionBoundObject As AutomationConnectionBoundObject)

参数

operandId
AutomationRemoteOperationOperandId

引用 CoreAutomationRemoteOperation 的操作数寄存器的标识符。

connectionBoundObject
AutomationConnectionBoundObject

连接绑定对象的连接详细信息。

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.UI.UIAutomation.UIAutomationContract (在 v2.0 中引入)

注解

如果要导入的对象属于不同于已与远程操作关联的连接,则会发生无效参数错误。

适用于