共用方式為


PreviewTeamView.IsScreenSharingChanged 事件

定義

指出系統是否正在顯示幕幕共用框線。

// Register
event_token IsScreenSharingChanged(TypedEventHandler<PreviewTeamView, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
PreviewTeamView::IsScreenSharingChanged_revoker IsScreenSharingChanged(auto_revoke_t, TypedEventHandler<PreviewTeamView, IInspectable const&> const& handler) const;
public event TypedEventHandler<PreviewTeamView,object> IsScreenSharingChanged;
function onIsScreenSharingChanged(eventArgs) { /* Your code */ }
previewTeamView.addEventListener("isscreensharingchanged", onIsScreenSharingChanged);
previewTeamView.removeEventListener("isscreensharingchanged", onIsScreenSharingChanged);
- or -
previewTeamView.onisscreensharingchanged = onIsScreenSharingChanged;
Public Custom Event IsScreenSharingChanged As TypedEventHandler(Of PreviewTeamView, Object) 

事件類型

備註

若要確認螢幕共用的目前狀態,請檢查 IsScreenSharing 屬性。

適用於