ArcGIS Pro 3.1 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 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 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also