ArcGIS Pro 2.9 API Reference Guide
GetShapeField Method

ArcGIS.Core.Data Namespace > FeatureClassDefinition Class : GetShapeField Method
Gets the name of the field where the shape (geometry) is stored. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public string GetShapeField()
Public Function GetShapeField() As String

Return Value

The name of the field where the shape (geometry) is stored.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

FeatureClassDefinition Class
FeatureClassDefinition Members