| ISwitchSwitched Event |
Occurs when the switch is switched.
Namespace: Microsoft.IoT.DeviceCore.InputAssembly: Microsoft.IoT.DeviceCore (in Microsoft.IoT.DeviceCore.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax event TypedEventHandler<ISwitch, bool> Switched
Event Switched As TypedEventHandler(Of ISwitch, Boolean)
event TypedEventHandler<ISwitch^, bool>^ Switched {
void add (TypedEventHandler<ISwitch^, bool>^ value);
void remove (TypedEventHandler<ISwitch^, bool>^ value);
}
abstract Switched : IEvent<TypedEventHandler<ISwitch, bool>,
EventArgs>
Value
Type:
Windows.FoundationTypedEventHandlerISwitch,
BooleanSee Also