Click or drag to resize

MapStyleHasParameter Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Determines if a specified parameter exists. The parameter will be specified in the Chameleon .CAM file using the PARAMETER %param = 1 syntax.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public bool HasParameter(
	string name
)

Parameters

name
Type: SystemString
The parameter to check for.

Return Value

Type: Boolean
True if the parameter exists, false otherwise.
Examples
C#
MapStyle style = MapStyle.Create("my_style_file.cam");
if (!style.HasParameterValue("my_param_name")) {
    throw MyException("parameter my_param_name is missing from my_style_file.cam");
}
See Also