ArduinoBoard.GetSystemVariable メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 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 (値はサポートされていません。ログ出力を確認してください)
例外
コマンドの送信中にエラーが発生しました