共用方式為


ArduinoBoard.GetCommandHandler<T> 方法

定義

取得具有所提供型別的命令處理常式。 會執行完全型別比對。

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

類型參數

T

要查詢的類型

傳回

T

如果找不到命令處理常式,則為 null

適用於