CoreAutomationRemoteOperation.ImportConnectionBoundObject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Imports an AutomationConnectionBoundObject into this remote operation.
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)
Parameters
- operandId
- AutomationRemoteOperationOperandId
Identifier that refers to an operand register of a CoreAutomationRemoteOperation.
- connectionBoundObject
- AutomationConnectionBoundObject
The connection details for a connection-bound object.
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.UI.UIAutomation.UIAutomationContract (introduced in v2.0)
|
Remarks
If the object being imported belongs to a different connection than the one already associated with the remote operation, an invalid argument error will occur.