ArcGIS Pro 2.7 API Reference Guide
GetShape Method (Feature)

ArcGIS.Core.Data Namespace > Feature Class : GetShape Method
Gets the geometry of this feature. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Geometry GetShape()
Public Function GetShape() As Geometry

Return Value

The geometry of this feature.
Exceptions
ExceptionDescription
This feature's type of shape (i.e., geometry) is not supported.
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Feature Class
Feature Members