public virtual bool IsQueryLanguageSupported()
Public Overridable Function IsQueryLanguageSupported() As Boolean
public virtual bool IsQueryLanguageSupported()
Public Overridable Function IsQueryLanguageSupported() As Boolean
If the underlying data source supports a query language (e.g., SQL) by returning true, the framework will exhibit the following behavior:
If the underlying data source does not support a query language (e.g., SQL) by returning false, the framework will exhibit the following behavior:
However, if a user-specified WhereClause exists and said where clause has a subexpression involving a ArcGIS.Core.Data.Field of type ArcGIS.Core.Data.FieldType.OID, the framework will transform the objectID value(s) into a list for ArcGIS.Core.Data.QueryFilter.ObjectIDs. For example:
QueryFilter queryFilter = new QueryFilter() { WhereClause = String.Format(“{0} = {1}”, “OBJECTID”, 2888) // the OBJECTID field is of type FieldType.OID. }; using (RowCursor rowCursor = featureClass.Search(queryFilter)) {}
Target Platforms: Windows 11, Windows 10