Releases the unmanaged resources used by the DicomGraphicLayer class and optionally releases the managed resources.
protected virtual void Dispose(
Protected Overloads Overridable Sub Dispose( _
ByVal disposing As Boolean _
virtual void Dispose(
true to release both managed and unmanaged resources; false to release only unmanaged resources.