This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISqlKeywordDictionary Interface > ISqlKeywordDictionary.FindKeyword Method (ArcObjects .NET 10.4 SDK) |
Indicates if the word is illegal (Legal=false, Illegal=true).
[Visual Basic .NET] Public Function FindKeyword ( _ ByVal keyword As String _ ) As Boolean
[C#] public bool FindKeyword ( string keyword );
[C++]
HRESULT FindKeyword(
BSTR keyword,
VARIANT_BOOL* pbFound
);
[C++]
Parameters keyword [in] keyword is a parameter of type BSTR pbFound [out, retval] pbFound is a parameter of type VARIANT_BOOL
Returns true if the string provided is a keyword; false otherwise. If false is returned, it does not necessarily mean the word is a valid field or table name, only that it is not reserved.