ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / DefinitionQuery Class / IsValid Property

In This Topic
    IsValid Property (DefinitionQuery)
    In This Topic
    Gets whether the definition query is valid.
    Syntax
    public bool IsValid {get;}
    Public ReadOnly Property IsValid As Boolean

    Property Value

    System.Boolean
    Remarks
    A definition query must have either a valid (non-null/empty) WhereClause or GeometryUri
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also