Validates the syntax of this ExprConstant.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void ValidateSyntax()
Public Overridable Sub ValidateSyntax
public: virtual void ValidateSyntax ()
Remarks
An ExprConstant is valid if the String representing
the value is non-null and non-empty. Note that the String should
represent a numeric value, but this is not enforced during validation.
Exceptions
Exception | Condition |
---|---|
SyntaxException |
If the syntax requirements are not met.
|