CoreWindow.AutomationProviderRequested 事件

定义

生成对自动化处理程序的请求时触发。

// Register
event_token AutomationProviderRequested(TypedEventHandler<CoreWindow, AutomationProviderRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void AutomationProviderRequested(event_token const* cookie) const;

// Revoke with event_revoker
CoreWindow::AutomationProviderRequested_revoker AutomationProviderRequested(auto_revoke_t, TypedEventHandler<CoreWindow, AutomationProviderRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWindow,AutomationProviderRequestedEventArgs> AutomationProviderRequested;
function onAutomationProviderRequested(eventArgs) { /* Your code */ }
coreWindow.addEventListener("automationproviderrequested", onAutomationProviderRequested);
coreWindow.removeEventListener("automationproviderrequested", onAutomationProviderRequested);
- or -
coreWindow.onautomationproviderrequested = onAutomationProviderRequested;
Public Custom Event AutomationProviderRequested As TypedEventHandler(Of CoreWindow, AutomationProviderRequestedEventArgs) Implements AutomationProviderRequested

事件类型

实现

适用于