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
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |