GpioDriver.Dispose Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Dispose() |
Disposes this instance, closing all open pins |
Dispose(Boolean) |
Disposes this instance |
Disposes this instance, closing all open pins
C#
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()
Implements
Applies to
.NET IoT Libraries 2.2.0 and other versions
Product | Versions |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |
Disposes this instance
C#
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)
Parameters
- disposing
- Boolean
True if explicitly disposing, false if in finalizer
Applies to
.NET IoT Libraries 2.2.0 and other versions
Product | Versions |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |