Edit

Share via


GpioController.UnregisterCallbackForPinValueChangedEvent Method

Definition

Removes a callback that was being invoked for pin at pinNumber.

public void UnregisterCallbackForPinValueChangedEvent (int pinNumber, System.Device.Gpio.PinChangeEventHandler callback);
public virtual void UnregisterCallbackForPinValueChangedEvent (int pinNumber, System.Device.Gpio.PinChangeEventHandler callback);
member this.UnregisterCallbackForPinValueChangedEvent : int * System.Device.Gpio.PinChangeEventHandler -> unit
abstract member UnregisterCallbackForPinValueChangedEvent : int * System.Device.Gpio.PinChangeEventHandler -> unit
override this.UnregisterCallbackForPinValueChangedEvent : int * System.Device.Gpio.PinChangeEventHandler -> unit
Public Sub UnregisterCallbackForPinValueChangedEvent (pinNumber As Integer, callback As PinChangeEventHandler)
Public Overridable Sub UnregisterCallbackForPinValueChangedEvent (pinNumber As Integer, callback As PinChangeEventHandler)

Parameters

pinNumber
Int32

The pin number in the controller's numbering scheme.

callback
PinChangeEventHandler

The callback method that will be invoked.

Applies to