ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / FilterDefinition Class / IsValid Method

In This Topic
    IsValid Method (FilterDefinition)
    In This Topic
    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.CreateFilter or BuildingSceneLayer.UpdateFilter
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also