共用方式為


GpioDriver.Dispose 方法

定義

多載

Dispose()

處置此實例,關閉所有開啟的釘選

Dispose(Boolean)

處置此實例

Dispose()

處置此實例,關閉所有開啟的釘選

public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

實作

適用於

Dispose(Boolean)

處置此實例

protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

參數

disposing
Boolean

如果明確處置,則為 True;如果在完成項中則為 false

適用於