Share via


CoreAutomationRemoteOperation.ImportTextRange Method

Definition

Enables the ability to reference an existing text range in the context of a remote operation virtual machine.

public:
 virtual void ImportTextRange(AutomationRemoteOperationOperandId operandId, AutomationTextRange ^ textRange) = ImportTextRange;
void ImportTextRange(AutomationRemoteOperationOperandId const& operandId, AutomationTextRange const& textRange);
public void ImportTextRange(AutomationRemoteOperationOperandId operandId, AutomationTextRange textRange);
function importTextRange(operandId, textRange)
Public Sub ImportTextRange (operandId As AutomationRemoteOperationOperandId, textRange As AutomationTextRange)

Parameters

operandId
AutomationRemoteOperationOperandId

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

textRange
AutomationTextRange

The UI Automation text range 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