ArduinoBoard.GetCommandHandler<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the command handler with the provided type. An exact type match is performed.
public T? GetCommandHandler<T>() where T : Iot.Device.Arduino.ExtendedCommandHandler;
member this.GetCommandHandler : unit -> 'T (requires 'T :> Iot.Device.Arduino.ExtendedCommandHandler)
Public Function GetCommandHandler(Of T As ExtendedCommandHandler) () As T
Type Parameters
- T
The type to query
Returns
The command handler, or null if none was found