ArcGIS Pro 2.7 API Reference Guide
IsValid Method

ArcGIS.Desktop.Mapping Namespace > FilterDefinition Class : IsValid Method
Determines if the filter definition is valid.
Syntax
public bool IsValid()
Public Function IsValid() As Boolean

Return Value

True if the filter definition is valid.
Remarks
Only valid filters can be set on the BuildingSceneLayer. Refer to BuildingSceneLayer.SetFilter.
A filter is considered valid if it has either:
o No or null filter blocks, or
o Zero or one solid filter block and Zero or one wireframe filter block
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

FilterDefinition Class
FilterDefinition Members