Click or drag to resize

MapStyleClearParameter Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Clear the parameter to the Unset state.

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

Parameters

name
Type: SystemString
Name of the parameter to clear.
Examples
C#
MapStyle style = MapStyle.Create("my_style.cam");
float p = style.GetParameterValue("param"); // p = 2

style.SetParameter("param", 1);
p = style.GetParameterValue("param"); // p = 1

style.ClearParameter("param");
p = style.GetParameterValue("param"); // p = 2
See Also