ArcGIS Pro 2.8 API Reference Guide
GetExtent Method (Topology)

ArcGIS.Core.Data.Topology Namespace > Topology Class : GetExtent Method
Gets an ArcGIS.Core.Geometry.Envelope representing the maximum extent of the union of all the feature classes that participate in the Topology. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Envelope GetExtent()
Public Function GetExtent() As Envelope

Return Value

An ArcGIS.Core.Geometry.Envelope representing the maximum extent of the union of all the feature classes that participate in the Topology.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Remarks
Unlike a geodatabase topology whose extent dynamically reflects that of its constituent participating feature classes, a feature service topology's extent remains static for the duration of the life time of the object. In other words, a feature service topology's extent will not change even if the geometry of its participating feature classes is modified. As a consequence, if this is a feature service topology, GetExtent should not be used as input for ValidationDescription.Extent because the extent may have grown since it was opened.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Topology Class
Topology Members