PreviewTeamView.CommandInvoked Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The user has invoked some UI or a hotkey that is not part of the app but should control the call.
// Register
event_token CommandInvoked(TypedEventHandler<PreviewTeamView, PreviewTeamCommandInvokedEventArgs const&> const& handler) const;
// Revoke with event_token
void CommandInvoked(event_token const* cookie) const;
// Revoke with event_revoker
PreviewTeamView::CommandInvoked_revoker CommandInvoked(auto_revoke_t, TypedEventHandler<PreviewTeamView, PreviewTeamCommandInvokedEventArgs const&> const& handler) const;
public event TypedEventHandler<PreviewTeamView,PreviewTeamCommandInvokedEventArgs> CommandInvoked;
function onCommandInvoked(eventArgs) { /* Your code */ }
previewTeamView.addEventListener("commandinvoked", onCommandInvoked);
previewTeamView.removeEventListener("commandinvoked", onCommandInvoked);
- or -
previewTeamView.oncommandinvoked = onCommandInvoked;
Public Custom Event CommandInvoked As TypedEventHandler(Of PreviewTeamView, PreviewTeamCommandInvokedEventArgs)