次の方法で共有


ArduinoBoard.GetSystemVariable メソッド

定義

オーバーロード

GetSystemVariable(SystemVariable, Int32)

指定されたシステム変数に対してクエリを実行します。

GetSystemVariable(SystemVariable, Int32, Int32)

指定されたシステム変数に対してクエリを実行します。

GetSystemVariable(SystemVariable, Int32)

指定されたシステム変数に対してクエリを実行します。

public bool GetSystemVariable(Iot.Device.Arduino.SystemVariable variableId, out int value);
member this.GetSystemVariable : Iot.Device.Arduino.SystemVariable * int -> bool
Public Function GetSystemVariable (variableId As SystemVariable, ByRef value As Integer) As Boolean

パラメーター

variableId
SystemVariable

クエリする変数

value
Int32

値を受け取ります

戻り値

成功した場合は True、それ以外の場合は false (値はサポートされていません。ログ出力を確認してください)

例外

コマンドの送信中にエラーが発生しました

適用対象

GetSystemVariable(SystemVariable, Int32, Int32)

指定されたシステム変数に対してクエリを実行します。

public bool GetSystemVariable(Iot.Device.Arduino.SystemVariable variableId, int pinNumber, out int value);
member this.GetSystemVariable : Iot.Device.Arduino.SystemVariable * int * int -> bool
Public Function GetSystemVariable (variableId As SystemVariable, pinNumber As Integer, ByRef value As Integer) As Boolean

パラメーター

variableId
SystemVariable

クエリする変数

pinNumber
Int32

使用するピン番号 (指定されたパラメーターに該当しない場合は-1)

value
Int32

値を受け取ります

戻り値

成功した場合は True、それ以外の場合は false (値はサポートされていません。ログ出力を確認してください)

例外

コマンドの送信中にエラーが発生しました

適用対象