AutomationRemoteOperationOperandId 结构

定义

表示引用 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
继承
AutomationRemoteOperationOperandId
属性

Windows 要求

设备系列
Windows 10, version 2104 (在 10.0.20348.0 中引入)
API contract
Windows.UI.UIAutomation.UIAutomationContract (在 v1.0 中引入)

注解

CoreAutomationRemoteOperation 虚拟机使用基于寄存器的指令集体系结构。

虚拟机有 232 个寄存器,每个寄存器由一个 32 位整数寻址,称为 操作数寄存器AutomationRemoteOperationOperandId 是引用操作数寄存器的整数值。

可以根据需要重新分配寄存器。

除非通过调用 ImportElementImportTextRange 进行初始化,否则所有寄存器都是未绑定的, (在调用 CoreAutomationRemoteOperation.Execute (System.Byte[]) 并启动远程操作时不引用任何操作) 数。

虚拟机支持以下类型:

  • 基元
    • 带符号的 32 位整数
    • 无符号的 32 位整数
    • Boolean
    • 双精度浮点数
    • 双字节字符
    • 点 - 一对 X 和 Y 坐标,每个坐标都是一个双精度浮点
    • 矩形 - 高度、宽度、X 和 Y 值的四个元组 (每个元组为双)
  • 引用类型
    • Remote UIAutomation 元素 – 通常由 IUIAutomationElement 接口公开的功能的表示形式
    • 远程 UIAutomation 模式 - 每个 UIA 模式存在不同的类型
    • 字符串 - 用于任何 UIA (字符串的双字节字符序列是不可变的)
    • 数组 - 可包含异类远程对象的集合
    • StringMap – 远程字符串到远程对象的映射, (支持异类类型)

字段

Value

操作数寄存器的 32 位整数地址。

适用于

另请参阅