Dispose Method

[VB]

Public Overrides Sub Dispose()

[C#]

public override void Dispose()

 

Description

The Dispose method is a member of many classes in GeoCalcNET.  It releases the resources used by the object instance.  

The following example shows the use of the Dispose method for the PrimeMeridian object, but the usage is the same for all objects.

 

Example

[VB]

Private Sub GeoCalcNET_Dispose(ByVal pm As GeoCalcNET.PrimeMeridian)

pm.Dispose()

End Sub

 

[C#]

private void GeoCalcNET_Dispose(GeoCalcNET.PrimeMeridian pm)

{

pm.Dispose();

}