Show / Hide Table of Contents

Property DefinitionExpression

DefinitionExpression

Gets a SQL statement where clause that stipulates a subset of features to be displayed.

Declaration
public string DefinitionExpression { get; }
Property Value
Type Description
System.String

A SQL statement where clause that stipulates a subset of features to be displayed.

Remarks

The definition expression string uses the SQL-92 WHERE clause syntax (https://en.wikipedia.org/wiki/SQL-92). Be sure to escape special characters in the expression string as required for your platform. The DATE keyword expects the date format yyyy-mm-dd and the TIMESTAMP keyword expects the time stamp format yyyy-mm-dd hh:mm:ss. For more information, see the ArcGIS Blog article Querying Feature Services Date-Time Queries.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.1 - 200.8
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.