CastingDevicePicker.CastingDeviceSelected Ereignis
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Gibt an, dass der Benutzer ein Gerät aus der Auswahl ausgewählt hat.
// Register
event_token CastingDeviceSelected(TypedEventHandler<CastingDevicePicker, CastingDeviceSelectedEventArgs const&> const& handler) const;
// Revoke with event_token
void CastingDeviceSelected(event_token const* cookie) const;
// Revoke with event_revoker
CastingDevicePicker::CastingDeviceSelected_revoker CastingDeviceSelected(auto_revoke_t, TypedEventHandler<CastingDevicePicker, CastingDeviceSelectedEventArgs const&> const& handler) const;
public event TypedEventHandler<CastingDevicePicker,CastingDeviceSelectedEventArgs> CastingDeviceSelected;
function onCastingDeviceSelected(eventArgs) { /* Your code */ }
castingDevicePicker.addEventListener("castingdeviceselected", onCastingDeviceSelected);
castingDevicePicker.removeEventListener("castingdeviceselected", onCastingDeviceSelected);
- or -
castingDevicePicker.oncastingdeviceselected = onCastingDeviceSelected;
Public Custom Event CastingDeviceSelected As TypedEventHandler(Of CastingDevicePicker, CastingDeviceSelectedEventArgs)