Validates the syntax of this OrderBy.
| C# | Visual Basic | Visual C++ |
public virtual void ValidateSyntax()
Public Overridable Sub ValidateSyntax
public: virtual void ValidateSyntax ()
An OrderBy is valid if the key sorting name is
non-null and non-empty.
| Exception | Condition |
|---|---|
| SyntaxException |
If the syntax requirements are not met.
|