Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.13 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.13 - 200.8
Xamarin.Android100.13 - 100.15
Xamarin.iOS100.13 - 100.15
UWP100.13 - 200.8
In This Article
Back to top Copyright © 2022 Esri.