CoreAutomationRemoteOperationContext 类

定义

使 ICoreAutomationRemoteOperationExtensionProvider 对象能够读取和写入操作数。

public ref class CoreAutomationRemoteOperationContext sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.UIAutomation.UIAutomationContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CoreAutomationRemoteOperationContext final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.UIAutomation.UIAutomationContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CoreAutomationRemoteOperationContext
Public NotInheritable Class CoreAutomationRemoteOperationContext
继承
Object Platform::Object IInspectable CoreAutomationRemoteOperationContext
属性

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.UI.UIAutomation.UIAutomationContract (在 v2.0 中引入)

方法

GetOperand(AutomationRemoteOperationOperandId)

检索 ICoreAutomationRemoteOperationExtensionProvider 扩展调用的操作数值。

SetOperand(AutomationRemoteOperationOperandId, Object)

设置 ICoreAutomationRemoteOperationExtensionProvider 扩展调用的操作数值。

SetOperand(AutomationRemoteOperationOperandId, Object, Guid)

设置 ICoreAutomationRemoteOperationExtensionProvider 扩展调用的操作数值。

适用于

另请参阅