Parameters Property

Type

GeoCalcNET.ParameterCollection

 

Access

Get only

 

Description

The Parameter property provides access to the ParameterCollection that holds values used to customize this VerticalDatum.  For a description of the specific parameters needed by each type of VerticalDatum, click on the appropriate description in the ClassType enumeration.

 

Example

[VB]

Private Sub GeoCalcNET_VerticalDatum_Parameters(ByVal vd As GeoCalcNET.VerticalDatum)

Dim pc As GeoCalcNET.ParameterCollection = vd.Parameters

If pc.Exists("path") Then

pc.StringItem("path") = "parfiles"

End If

End Sub

 

[C#]

private void GeoCalcNET_VerticalDatum_Parameters(GeoCalcNET.VerticalDatum vd)

{

GeoCalcNET.ParameterCollection pc = vd.Parameters;

if(vd.Class == GeoCalcNET.VerticalDatum.ClassType.NAVD88)

{

if(pc.Exists("path"))

{

pc.set_StringItem("path", "parfiles");

}

if(pc.Exists("extension"))

{

pc.set_StringItem("extension", ".94");

}

}

}