Property WhereClause
WhereClause
Gets or sets a SQL expression that defines which features are rendered.
Declaration
public string WhereClause { get; set; }
Property Value
Type | Description |
---|---|
System.String | A SQL expression that defines which features are rendered. |
Remarks
The where clause string that is used as the WhereClause should follow standard SQL syntax similar to what is discussed in the document SQL reference for query expressions used in ArcGIS.
A where clause that is not valid for the data may result in no features being drawn when this display filter is applied either by ActiveFilter or by MaxScale. Check the layer's LayerViewState for a Warning; if there is one, then there might be a Error describing that the display filter's where clause is not valid.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.13 - 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.13 - 200.6 |
Xamarin.Android | 100.13 - 100.15 |
Xamarin.iOS | 100.13 - 100.15 |
UWP | 100.13 - 200.6 |