Share via


CoreAutomationRemoteOperation.ImportElement Method

Definition

Enables the ability to reference an existing UI Automation element in the context of a remote operation virtual machine.

public:
 virtual void ImportElement(AutomationRemoteOperationOperandId operandId, AutomationElement ^ element) = ImportElement;
void ImportElement(AutomationRemoteOperationOperandId const& operandId, AutomationElement const& element);
public void ImportElement(AutomationRemoteOperationOperandId operandId, AutomationElement element);
function importElement(operandId, element)
Public Sub ImportElement (operandId As AutomationRemoteOperationOperandId, element As AutomationElement)

Parameters

operandId
AutomationRemoteOperationOperandId

The ID of the operand to use in the remote operation.

element
AutomationElement

The UI Automation element to use in the remote operation.

Remarks

Do not attempt to import objects that belong to different processes into the same remote operation. Remote operations are bound to a single process.

Applies to