ArduinoBoard.GetSystemVariable Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
GetSystemVariable(SystemVariable, Int32) |
Consulta a variável de sistema fornecida. |
GetSystemVariable(SystemVariable, Int32, Int32) |
Consulta a variável de sistema fornecida. |
GetSystemVariable(SystemVariable, Int32)
Consulta a variável de sistema fornecida.
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
Parâmetros
- variableId
- SystemVariable
A variável a ser consultada
- value
- Int32
Recebe o valor
Retornos
True no êxito, false caso contrário (valor sem suporte etc. Verifique a saída do log)
Exceções
Erro ao enviar o comando
Aplica-se a
GetSystemVariable(SystemVariable, Int32, Int32)
Consulta a variável de sistema fornecida.
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
Parâmetros
- variableId
- SystemVariable
A variável a ser consultada
- pinNumber
- Int32
O número de fixação a ser usado (-1 se não for aplicável ao parâmetro especificado)
- value
- Int32
Recebe o valor
Retornos
True no êxito, false caso contrário (valor sem suporte etc. Verifique a saída do log)
Exceções
Erro ao enviar o comando