ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeometryBag Class / ToEsriShape Method / ToEsriShape() Method

ToEsriShape() Method
Converts this GeometryBag into an Esri shape formatted binary byte buffer.
Syntax
public override byte[] ToEsriShape()

Return Value

The geometry as a formatted binary byte buffer.
Exceptions
ExceptionDescription
The method is not implemented for GeometryBag.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.1 or higher.
See Also