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 annotation features in the data source to be used by the AnnotationLayer.
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.12 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.12 - 200.6 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.6 |