Show / Hide Table of Contents

Property DefinitionExpression

DefinitionExpression

Gets the definition expression of this sublayer.

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

The definition expression of this sublayer.

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. See the ArcGIS Blog article entitled "Querying Feature Services Date-Time Queries" (https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/) for more information.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.1 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.14
Xamarin.iOS100.1 - 100.14
UWP100.1 - 100.14
In This Article
Back to top Copyright © 2021 Esri.