ArcGIS Pro 3.7 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 ReadOnly Property IsValid As Boolean
    public bool IsValid {get;}

    Property Value

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

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.5 or higher.
    See Also