Show / Hide Table of Contents

Property WhereClause

WhereClause

Gets or sets a SQL where clause used to match features to this filter block. Features that satisfy this clause are displayed.

Declaration
public string WhereClause { get; set; }
Property Value
Type Description
string

A SQL where clause used to match features to this filter block. Features that satisfy this clause are displayed.

Remarks

This expression only supports standardized SQL and is evaluated against feature attributes on the client. For buildings with a "BldgLevel" attribute, for example, a clause to display only the first floor might look like this: "BldgLevel=1". Invalid or malformed SQL will cause zero features to pass the filter block: none will be rendered. An empty where clause will cause all features to pass the filter block: all will be rendered.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.