Property DefinitionExpression
DefinitionExpression
Gets or sets an expression which is a SQL statement WHERE clause to specify the subset of features to be displayed.
Declaration
public string DefinitionExpression { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | An expression which is a SQL statement WHERE clause to specify the subset of features to be displayed. | 
Remarks
The definition expression string uses the SQL-92 WHERE clause syntax. The default value is an empty string, which will allow all dimension features in the data source to be used by the DimensionLayer.
 Warning: 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
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.13 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.13 - 200.8 | 
| Xamarin.Android | 100.13 - 100.15 | 
| Xamarin.iOS | 100.13 - 100.15 | 
| UWP | 100.13 - 200.8 |