RVTDocs.com

GlobalParameter.IsValidFormula

Method
Description:
Tests that the given expression is a valid as formula for this parameter.
Remarks:
Use this method to test validity of a formula before assigning it to a global parameter when in doubt whether it is an acceptable expression or not.
Syntax
public bool IsValidFormula(
	string expression
)
Parameters
Parameter Type Description
expression String
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null