PerceptionInfraredFrameSource.PropertiesChanged Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
S’abonne à l’événement PropertiesChanged.
// Register
event_token PropertiesChanged(TypedEventHandler<PerceptionInfraredFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void PropertiesChanged(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionInfraredFrameSource::PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, TypedEventHandler<PerceptionInfraredFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameSource may be unavailable after Windows Creator Update. Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameSource may be unavailable after Windows Creator Update. Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
// Register
event_token PropertiesChanged(TypedEventHandler<PerceptionInfraredFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void PropertiesChanged(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionInfraredFrameSource::PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, TypedEventHandler<PerceptionInfraredFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<PerceptionInfraredFrameSource,PerceptionFrameSourcePropertiesChangedEventArgs> PropertiesChanged;
[add: Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameSource may be unavailable after Windows Creator Update. Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameSource may be unavailable after Windows Creator Update. Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<PerceptionInfraredFrameSource,PerceptionFrameSourcePropertiesChangedEventArgs> PropertiesChanged;
function onPropertiesChanged(eventArgs) { /* Your code */ }
perceptionInfraredFrameSource.addEventListener("propertieschanged", onPropertiesChanged);
perceptionInfraredFrameSource.removeEventListener("propertieschanged", onPropertiesChanged);
- or -
perceptionInfraredFrameSource.onpropertieschanged = onPropertiesChanged;
Public Custom Event PropertiesChanged As TypedEventHandler(Of PerceptionInfraredFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs)
Type d'événement
- Attributs