ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data Namespace / Table Class / Validate Method / Validate(Selection) Method
The selection of rows to be validated.

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

    Parameters

    selection
    The selection of 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
    selection 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