XamlWriter.Dispose(Boolean) 方法

定义

释放由 XamlWriter 占用的非托管资源,还可以另外再释放托管资源。Releases the unmanaged resources used by the XamlWriter and optionally releases the managed resources.

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 表示释放托管资源;否则为 falsetrue to release the managed resources; otherwise, false.

注解

必须调用基类以获取 trueIsDisposed = 。You must call the base class to get IsDisposed = true.

适用于