ArduinoBoard.SetSystemVariable メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| SetSystemVariable(SystemVariable, Int32) |
指定されたシステム変数を更新します。 |
| SetSystemVariable(SystemVariable, Int32, Int32) |
指定されたシステム変数を更新します。 |
SetSystemVariable(SystemVariable, Int32)
指定されたシステム変数を更新します。
public bool SetSystemVariable(Iot.Device.Arduino.SystemVariable variableId, int value);
member this.SetSystemVariable : Iot.Device.Arduino.SystemVariable * int -> bool
Public Function SetSystemVariable (variableId As SystemVariable, value As Integer) As Boolean
パラメーター
- variableId
- SystemVariable
更新する変数
- value
- Int32
新しい値
戻り値
成功した場合は True、それ以外の場合は false (ログ出力チェック)
例外
通信エラーが発生しました
適用対象
SetSystemVariable(SystemVariable, Int32, Int32)
指定されたシステム変数を更新します。
public bool SetSystemVariable(Iot.Device.Arduino.SystemVariable variableId, int pinNumber, int value);
member this.SetSystemVariable : Iot.Device.Arduino.SystemVariable * int * int -> bool
Public Function SetSystemVariable (variableId As SystemVariable, pinNumber As Integer, value As Integer) As Boolean
パラメーター
- variableId
- SystemVariable
更新する変数
- pinNumber
- Int32
使用するピン番号、または関連しない場合は -1
- value
- Int32
新しい値
戻り値
成功した場合は True、それ以外の場合は false (ログ出力チェック)
例外
通信エラーが発生しました