ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data Namespace / Table Class / Validate Method / Validate(IEnumerable<Row>) Method
The rows to be validated.

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

    Parameters

    rows
    The rows to be validated.

    Return Value

    A read-only 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 validate and the value represents the corresponding error message. If validation succeeds, the returned read-only dictionary is empty.
    Exceptions
    ExceptionDescription
    rows 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 or higher.
    See Also