Version

TryParse(String,CellReferenceMode,WorkbookFormat,CultureInfo,Formula,FormulaParseException) Method

Parses the specified formula value. The return value indicates whether the operation succeeded.
Syntax

Parameters

value
The string which defines the formula to parse.
cellReferenceMode
The mode used to interpret cell references in the formula.
fileFormat
The file format to use when parsing the formula. This will be used to determine certain limits which are format dependant.
culture
The culture used to parse the formula.
formula
When this method returns, contains the formula which was parsed from value if the conversion succeeded or null if the conversion failed. This parameter is passed uninitialized.
exception
When this method returns, contains the error information if the conversion failed or null if the conversion succeeded. This parameter is passed uninitialized.

Return Value

True if value was converted successfully; False otherwise.
Exceptions
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also