Table of Contents

Method TryParse

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

TryParse(string?, out XlsxFormula?)

Parses a formula, without an exception when the text is not one.

public static bool TryParse(string? text, out XlsxFormula? formula)

Parameters

text string

The formula, with or without its leading equals sign.

formula XlsxFormula

The formula, or null.

Returns

bool

true when the text is a formula.