Method TryParse
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
TryParse(string, out CadToolPalettes, out string)
Reads a set from JSON text, as ToJson() wrote it; a value that is not valid falls back to its default with a Warn naming it.
public static bool TryParse(string text, out CadToolPalettes set, out string problem)
Parameters
textstringThe text.
setCadToolPalettesReceives the set, unmodified; null where the text does not read.
problemstringReceives what is wrong where it does not read; null where it does.
Returns
- bool
Whether the text read.