ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / Geometry Class / ToEsriShape Method / ToEsriShape(Byte[]) Method
The buffer to which the geometry will be written. The buffer must be large enough to hold the Esri shapefile formatted version of the input geometry.

In This Topic
    ToEsriShape(Byte[]) Method
    In This Topic
    Converts this geometry into an Esri shape formatted binary byte buffer and returns the size of the shapeBuffer.
    Syntax
    public abstract long ToEsriShape( 
       ref byte[] shapeBuffer
    )
    Public Overloads MustOverride Function ToEsriShape( _
       ByRef shapeBuffer() As Byte _
    ) As Long

    Parameters

    shapeBuffer
    The buffer to which the geometry will be written. The buffer must be large enough to hold the Esri shapefile formatted version of the input geometry.

    Return Value

    The number of bytes used to store this instance in the input shapeBuffer.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also