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

In This Topic
    ToEsriShape() Method
    In This Topic
    Converts this GeometryBag into an Esri shape formatted binary byte buffer.
    Syntax
    Public Overloads Overrides NotOverridable Function ToEsriShape() As Byte()
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also