ArcGIS Pro 2.8 API Reference Guide
FromEsriShape Method (GeometryBagBuilder)

ArcGIS.Core.Geometry Namespace > GeometryBagBuilder Class : FromEsriShape Method
Esri shape buffer representation of GeometryBag.
(Optional)The spatial reference of the GeometryBag.
Creates a new instance of a GeometryBag class from an Esri shape buffer.
Syntax
public new static GeometryBag FromEsriShape( 
   byte[] esriShapeBuffer,
   SpatialReference spatialReference
)
Public Shared Shadows Function FromEsriShape( _
   ByVal esriShapeBuffer() As Byte, _
   Optional ByVal spatialReference As SpatialReference _
) As GeometryBag

Parameters

esriShapeBuffer
Esri shape buffer representation of GeometryBag.
spatialReference
(Optional)The spatial reference of the GeometryBag.

Return Value

Exceptions
ExceptionDescription
The method is not implemented for GeometryBagBuilder.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GeometryBagBuilder Class
GeometryBagBuilder Members