Partilhar via


GpioController.IsPinModeSupported(Int32, PinMode) Método

Definição

Verifica se um pin dá suporte a um modo específico.

public bool IsPinModeSupported (int pinNumber, System.Device.Gpio.PinMode mode);
public virtual bool IsPinModeSupported (int pinNumber, System.Device.Gpio.PinMode mode);
member this.IsPinModeSupported : int * System.Device.Gpio.PinMode -> bool
abstract member IsPinModeSupported : int * System.Device.Gpio.PinMode -> bool
override this.IsPinModeSupported : int * System.Device.Gpio.PinMode -> bool
Public Function IsPinModeSupported (pinNumber As Integer, mode As PinMode) As Boolean
Public Overridable Function IsPinModeSupported (pinNumber As Integer, mode As PinMode) As Boolean

Parâmetros

pinNumber
Int32

O número de fixação no esquema de numeração do controlador.

mode
PinMode

O modo a ser verificado.

Retornos

O status se o pino der suporte ao modo.

Aplica-se a