Version

Parse(String,CellReferenceMode,CultureInfo) Method

Parses the specified formula value and returns the formula which was created from it.
Syntax
public static Formula Parse( 
   string value,
   CellReferenceMode cellReferenceMode,
   CultureInfo culture
)

Parameters

value
The string which defines the formula to parse.
cellReferenceMode
The mode used to interpret cell references in the formula.
culture
The culture used to parse the formula.

Return Value

A Formula instance which represents the formula specified.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionvalue is null or empty.
System.ComponentModel.InvalidEnumArgumentExceptioncellReferenceMode is not defined in the CellReferenceMode enumeration.
FormulaParseExceptionvalue is not a valid formula.
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