Freigeben über


CoreAutomationRemoteOperation.ImportConnectionBoundObject Methode

Definition

Importiert ein AutomationConnectionBoundObject in diesen Remotevorgang.

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)

Parameter

operandId
AutomationRemoteOperationOperandId

Bezeichner, der auf ein Operandenregister einer CoreAutomationRemoteOperation verweist.

connectionBoundObject
AutomationConnectionBoundObject

Die Verbindungsdetails für ein verbindungsgebundenes Objekt.

Windows-Anforderungen

Gerätefamilie
Windows 11 (eingeführt in 10.0.22000.0)
API contract
Windows.UI.UIAutomation.UIAutomationContract (eingeführt in v2.0)

Hinweise

Wenn das zu importierende Objekt zu einer anderen Verbindung gehört als die, die bereits dem Remotevorgang zugeordnet ist, tritt ein ungültiger Argumentfehler auf.

Gilt für: