バージョン

Parse(String,CellReferenceMode,WorkbookFormat) メソッド

指定した数式値を解析し、それから作成した数式を返します。
シンタックス
'宣言
 
Public Overloads Shared Function Parse( _
   ByVal value As String, _
   ByVal cellReferenceMode As CellReferenceMode, _
   ByVal fileFormat As WorkbookFormat _
) As Formula
public static Formula Parse( 
   string value,
   CellReferenceMode cellReferenceMode,
   WorkbookFormat fileFormat
)

パラメータ

value
解析するための数式を定義する文字列。
cellReferenceMode
数式のセル参照を解釈するために使用されるモード。
fileFormat
数式解析の時に使用するファイル形式です。形式に依存する制約を決定するのに使用されます。

戻り値の型

指定した数式を表す Formula インスタンス。
例外
例外解説
System.ArgumentNullExceptionvalue は null または空です。
System.ComponentModel.InvalidEnumArgumentExceptioncellReferenceModeCellReferenceMode 列挙体で定義されていません。
System.ComponentModel.InvalidEnumArgumentExceptionfileFormatWorkbookFormat 列挙体で定義されていません。
FormulaParseExceptionvalue は有効な数式ではありません。
参照