共用方式為


MemoryOwner.Dispose Method

Definition

Overloads

Dispose()

Dispose the wrapped IMemoryOwner<T>.

Dispose(Boolean)

If disposing is true, dispose the wrapped IMemoryOwner<T> instance.

Dispose()

Dispose the wrapped IMemoryOwner<T>.

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

Implements

Applies to

Dispose(Boolean)

If disposing is true, dispose the wrapped IMemoryOwner<T> instance.

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 this is being invoked via Dispose(), false otherwise.

Applies to