ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data Namespace / Table Class / Validate Method / Validate(QueryFilter) Method
The rows that satisfy the constraints in the filter will be validated.

In This Topic
    Validate(QueryFilter) Method
    In This Topic
    Indicates whether the row(s) in filter is violating any rules. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax

    Parameters

    filter
    The rows that satisfy the constraints in the filter will be validated.

    Return Value

    A readonly dictionary that holds zero or more key/value pairs where the existence of each key represents the object ID of the row that fails to valiate and the value represents the corresponding error message. If validation succeeds, the returned readonly dictionary is empty.
    Exceptions
    ExceptionDescription
    filter is null.
    This table/feature class does not support this operation. For example, it is a joined table.
    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also