ArcGIS Pro 2.9 API Reference Guide
ValidateInEditOperation Method

ArcGIS.Core.Data.Extensions Namespace > ArcGISCoreDataExtensions Class : ValidateInEditOperation Method
The ArcGIS.Core.Data.Topology instance to validate.
The ArcGIS.Core.Data.Topology.ValidationDescription which describes the details of the validate operation.
Ensures data integrity by validating the features in a topology in the area specified by ArcGIS.Core.Data.Topology.ValidationDescription.Extent against a pre-defined set of topology rules. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Public Shared Function ValidateInEditOperation( _
   ByVal topology As Topology, _
   ByVal validationDescription As ValidationDescription _
) As ValidationResult

Parameters

topology
The ArcGIS.Core.Data.Topology instance to validate.
validationDescription
The ArcGIS.Core.Data.Topology.ValidationDescription which describes the details of the validate operation.

Return Value

A ArcGIS.Core.Data.Topology.ValidationResult that describes the result of the operation.
Exceptions
ExceptionDescription
validationDescription is null.
Cannot find a layer in the active map that connects to the same geodatabase as that of the Topology.
This method must be called on the Main CIM Thread. Use QueuedTask.Run.
A geodatabase-related exception has occurred.
Remarks
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

ArcGISCoreDataExtensions Class
ArcGISCoreDataExtensions Members