ICoreAutomationRemoteOperationExtensionProvider.CallExtension 方法

定义

由 UI 自动化 (UIA) 提供程序实现,以通知远程操作用户此方法支持的扩展 ID。

public:
 void CallExtension(Platform::Guid extensionId, CoreAutomationRemoteOperationContext ^ context, Platform::Array <AutomationRemoteOperationOperandId> ^ operandIds);
void CallExtension(winrt::guid const& extensionId, CoreAutomationRemoteOperationContext const& context, winrt::array_view <AutomationRemoteOperationOperandId> const& operandIds);
public void CallExtension(Guid extensionId, CoreAutomationRemoteOperationContext context, AutomationRemoteOperationOperandId[] operandIds);
function callExtension(extensionId, context, operandIds)
Public Sub CallExtension (extensionId As Guid, context As CoreAutomationRemoteOperationContext, operandIds As AutomationRemoteOperationOperandId())

参数

extensionId
Guid

Platform::Guid

winrt::guid

扩展的唯一标识符。

context
CoreAutomationRemoteOperationContext

UIA 提供程序扩展的执行上下文。

operandIds
AutomationRemoteOperationOperandId[]

扩展所需的操作数。

注解

在调用此方法之前,请确认 IsExtensionSupported (System.Guid) 支持该 扩展。

适用于