Skip to content

M_Rhino_Geometry_Morphs_TaperSpaceMorph_Dispose_1

Will Pearson edited this page Aug 12, 2016 · 2 revisions

TaperSpaceMorph.Dispose Method (Boolean)

For derived class implementers. This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.

Namespace: Rhino.Geometry.Morphs
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

protected virtual void Dispose(
	bool disposing
)

VB

Protected Overridable Sub Dispose ( 
	disposing As Boolean
)

Parameters

 

disposing
Type: System.Boolean
true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

TaperSpaceMorph Class
Dispose Overload
Rhino.Geometry.Morphs Namespace

Clone this wiki locally