共用方式為


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 引進)

備註

如果匯入的物件與已經與遠端作業相關聯的物件屬於不同的連接,就會發生不正確引數錯誤。

適用於