Validates the syntax of this ExprConstant.
| C# | Visual Basic | Visual C++ |
public virtual void ValidateSyntax()
Public Overridable Sub ValidateSyntax
public: virtual void ValidateSyntax ()
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.
| Exception | Condition |
|---|---|
| SyntaxException |
If the syntax requirements are not met.
|