Share via


PreviewTeamView.CommandInvoked イベント

定義

ユーザーは、アプリの一部ではない UI またはホットキーを呼び出しましたが、呼び出しを制御する必要があります。

// 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) 

イベントの種類

適用対象