DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / Dispose() Method
Example

In This Topic
    Dispose() Method
    In This Topic
    Releases the resources used by the DicomImage object This does not dispose the underlying DicomDataSet object which is DataSet, an explicit Dispose call will be needed to have that effect
    Standard Dispose methods
    Syntax
    'Declaration
     
    
    Public Sub Dispose() 
    public void Dispose()
    Remarks
    This does not dispose the underlying DicomDataSet object which is DataSet, an explicit Dispose call will be needed to have that effect
    Example
    DicomImage image = new DicomImage("your_dicom_image.dcm");
    image.Dispose();
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also