Annotation.Dispose(Boolean) 方法

定义

释放非托管资源和(可选)托管资源。Releases unmanaged resources and, optionally, managed resources.

protected:
 override void Dispose(bool disposing);
protected override void Dispose (bool disposing);
override this.Dispose : bool -> unit
Protected Overrides Sub Dispose (disposing As Boolean)

参数

disposing
Boolean

如果释放托管资源和非托管资源,则为 true;如果仅释放非托管资源,则为 falsetrue to release both unmanaged and managed resources; false to release only unmanaged resources.

适用于