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