ToString Method

[VB]

Public Overrides Function ToString() As String

[C#]

public override System.String ToString()

 

Description

The ToString method returns a string that contains a description of this AngularValue in the specified format.  The Format property is used to specify the string format.  A list of the supported formats is given here.

 

Example

[VB]

Private Sub GeoCalcNET_AngularValue_ToString(ByVal av As GeoCalcNET.AngularValue)

av.Format = "DD_MM_SS"

Dim s As String = av.ToString()

End Sub

 

[C#]

private void GeoCalcNET_AngularValue_ToString(GeoCalcNET.AngularValue av)

{

av.Format = "DMS";

String s = av.ToString();

}