Version

Parse(String,CellReferenceMode) Method

Parses the specified formula value and returns the formula which was created from it.
Syntax
'Declaration
 
Public Overloads Shared Function Parse( _
   ByVal value As System.String, _
   ByVal cellReferenceMode As CellReferenceMode _
) As Formula
public static Formula Parse( 
   System.string value,
   CellReferenceMode cellReferenceMode
)

Parameters

value
The string which defines the formula to parse.
cellReferenceMode
The mode used to interpret cell references in 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: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub