MapMatrix NetGIS Class Library

Legend.ParseToBool Method 

Parses a string value (yes or no, true or false) to a boolean value

public static bool ParseToBool(
   string StringValue
);

Parameters

StringValue
String Value to parse

Return Value

returns a bool that represents the provided string

Remarks

This can be used as a utility and has no other benefit to this namespace.

See Also

Legend Class | MapMatrix.WebUI Namespace