[]
Gets or sets the parsed value.
The value should be double, string, bool, or CalcError. Other values are discarded.
public object Value { get; set; }
Public Property Value As Object
CsvOpenOptions options = new CsvOpenOptions();
options.Parser = new ValueParser();
string filePath = Path.Combine(Path.GetTempPath(), "data.csv");
File.WriteAllText(filePath, "Code\n0012");
workbook.Open(filePath, options);
IWorksheet activeSheet = workbook.ActiveSheet;
class ValueParser : ICsvParser
{
public void Parse(CsvParseResult result, CsvParseContext context)
{
result.Value = context.Text;
object value = result.Value;
}
}