ArduinoBoard.GetCommandHandler<T> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得具有所提供型別的命令處理常式。 會執行完全型別比對。
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