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. See the ArcGIS Blog article entitled
"Querying Feature Services Date-Time Queries"
for more information.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.13 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.13 - 100.15 |
| Xamarin.Android | 100.13 - 100.15 |
| Xamarin.iOS | 100.13 - 100.15 |
| UWP | 100.13 - 100.15 |