XamlWriter.Dispose(Boolean) 方法

定义

释放由 XamlWriter 占用的非托管资源,还可以另外再释放托管资源。

protected:
 virtual void Dispose(bool disposing);
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

注解

必须调用基类才能获取 IsDisposed = true

适用于