Method TryParse
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
TryParse(string, out string, out string, out string)
Takes a connection string apart: the file and what follows its extension.
public static bool TryParse(string connection, out string file, out string sheet, out string range)
Parameters
connectionstringThe connection string.
filestringThe file.
sheetstringThe first part after the file, a sheet or a named range; empty for none.
rangestringThe second part after the file, the cells; empty for none.
Returns
- bool
True when the string names a file with an extension of a workbook or a CSV file.