CoreAutomationRemoteOperation.ImportConnectionBoundObject 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 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 引進)
|
備註
如果匯入的物件與已經與遠端作業相關聯的物件屬於不同的連接,就會發生不正確引數錯誤。