Share via


SysHolographicDisplayWatcher.Added Event

Definition

The event that is raised when a new holographic display is added.

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 Added(TypedEventHandler<SysHolographicDisplayWatcher, SysHolographicDisplay const&> const& handler) const;

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

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

Event Type

Applies to