AutomationRemoteOperationOperandId Struct
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.
Represents an identifier that refers to an operand register of a CoreAutomationRemoteOperation.
public value class AutomationRemoteOperationOperandId
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.UIAutomation.UIAutomationContract, 65536)]
struct AutomationRemoteOperationOperandId
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.UIAutomation.UIAutomationContract), 65536)]
public struct AutomationRemoteOperationOperandId
Public Structure AutomationRemoteOperationOperandId
- Inheritance
-
AutomationRemoteOperationOperandId
- Attributes
Windows requirements
Device family |
Windows 10, version 2104 (introduced in 10.0.20348.0)
|
API contract |
Windows.UI.UIAutomation.UIAutomationContract (introduced in v1.0)
|
Remarks
The CoreAutomationRemoteOperation virtual machine uses a register-based instruction set architecture.
The virtual machine has 232 registers, each addressed by a 32-bit integer, referred to as operand registers. An AutomationRemoteOperationOperandId is the integer value that refers to an operand register.
Registers can be reassigned as needed.
Unless initialized through a call to ImportElement or ImportTextRange, all registers are unbound (do not refer to any operands) when CoreAutomationRemoteOperation.Execute(System.Byte[]) is called and the remote operation starts.
The virtual machine supports the following types:
- Primitives
- Signed 32-bit integer
- Unsigned 32-bit integer
- Boolean
- Double-precision floating point number
- Two-byte character
- Point – a pair of X and Y coordinates, each of which is a double-precision float
- Rect – a four-tuple of Height, Width, X, and Y values (each a double)
- Reference types
- Remote UIAutomation Element – a representation of functionality typically exposed by the IUIAutomationElement interface
- Remote UIAutomation Patterns – a different type exists for every UIA pattern
- String – a sequence of two-byte characters used for any UIA (strings are immutable)
- Array – a collection that can contain a heterogeneous sequence of remote objects
- StringMap – a map of remote strings to remote objects (supports heterogeneous types)
Fields
Value |
The 32-bit integer address of the operand register. |