| Visual Basic | |
|---|---|
Function GetSyntaxErrors() As System.String() | |
| C# | |
|---|---|
System.string[] GetSyntaxErrors() | |
| C++/CLI | |
|---|---|
System.array<String^>^ GetSyntaxErrors(); | |
Return Value
Array of localized syntax errors; Nothing or null if no errorsSee the IEdmSearch9 examples.
This method returns errors only if the advanced specifier (@:) is specified at the beginning of search syntax conditions.
If IEdmSearch5::GetFirstResult returns Nothing or null it can mean either:
- the search found no documents
- or -
- there were one or more search syntax errrors.
Call this method after IEdmSearch5::GetFirstResult to determine whether there are syntax errors. If this method returns Nothing or null, then you can assume that IEdmSearch5::GetFirstResult found no documents.
See Search Syntax.
SOLIDWORKS PDM Professional 2020