ArcGIS Pro 2.7 API Reference Guide
ToEsriShape() Method

ArcGIS.Core.Geometry Namespace > GeometryBag Class > ToEsriShape Method : ToEsriShape() Method
Converts this GeometryBag into an Esri shape formatted binary byte buffer.
Syntax
public override byte[] ToEsriShape()
Public Overloads Overrides NotOverridable Function ToEsriShape() As Byte()

Return Value

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

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GeometryBag Class
GeometryBag Members
Overload List