共用方式為


ContentIsland.AutomationProviderRequested Event

Definition

Occurs when an automation provider is requested for this ContentIsland.

// Register
event_token AutomationProviderRequested(TypedEventHandler<ContentIsland, ContentIslandAutomationProviderRequestedEventArgs const&> const& handler) const;

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

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

Event Type

Applies to

See also