MapStyleHasParameter Method | |
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
)
Public Function HasParameter (
name As String
) As Boolean
Parameters
- name
- Type: SystemString
The parameter to check for.
Return Value
Type:
BooleanTrue if the parameter exists,
false otherwise.
Examples 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