共用方式為


ICoreWindow.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
ICoreWindow::AutomationProviderRequested_revoker AutomationProviderRequested(auto_revoke_t, TypedEventHandler<CoreWindow, AutomationProviderRequestedEventArgs const&> const& handler) const;
event TypedEventHandler<CoreWindow,AutomationProviderRequestedEventArgs> AutomationProviderRequested;
function onAutomationProviderRequested(eventArgs) { /* Your code */ }
iCoreWindow.addEventListener("automationproviderrequested", onAutomationProviderRequested);
iCoreWindow.removeEventListener("automationproviderrequested", onAutomationProviderRequested);
- or -
iCoreWindow.onautomationproviderrequested = onAutomationProviderRequested;
Event AutomationProviderRequested As TypedEventHandler(Of CoreWindow, AutomationProviderRequestedEventArgs) 

事件類型

適用於