Share via


SysHolographicDisplayWatcher.Removed Event

Definition

The event that is raised when a holographic display is removed.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

// Register
event_token Removed(TypedEventHandler<SysHolographicDisplayWatcher, SysHolographicDisplay const&> const& handler) const;

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

// Revoke with event_revoker
SysHolographicDisplayWatcher::Removed_revoker Removed(auto_revoke_t, TypedEventHandler<SysHolographicDisplayWatcher, SysHolographicDisplay const&> const& handler) const;
public event TypedEventHandler<SysHolographicDisplayWatcher,SysHolographicDisplay> Removed;
function onRemoved(eventArgs) { /* Your code */ }
sysHolographicDisplayWatcher.addEventListener("removed", onRemoved);
sysHolographicDisplayWatcher.removeEventListener("removed", onRemoved);
- or -
sysHolographicDisplayWatcher.onremoved = onRemoved;
Public Custom Event Removed As TypedEventHandler(Of SysHolographicDisplayWatcher, SysHolographicDisplay) 

Event Type

Applies to