Click or drag to resize
IObservableEventTSender, TResultAdd Method
Adds a handler to the observed event.

Namespace: Microsoft.IoT.DeviceHelpers
Assembly: Microsoft.IoT.DeviceHelpers (in Microsoft.IoT.DeviceHelpers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
EventRegistrationToken Add(
	TypedEventHandler<TSender, TResult> handler
)

Parameters

handler
Type: Windows.FoundationTypedEventHandlerTSender, TResult
The handler to add.

Return Value

Type: EventRegistrationToken
A token that can be used to remove the event handler from the invocation list.
See Also