CoreAutomationRemoteOperation.ImportElement 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.
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.