ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeometryBagBuilderEx Class / CreateGeometryBag Method / CreateGeometryBag(SpatialReference) Method
(Optional) The SpatialReference. The default value is null.

CreateGeometryBag(SpatialReference) Method
Convenience method to create a new empty instance of the GeometryBag class.
Syntax
public static GeometryBag CreateGeometryBag( 
   SpatialReference spatialReference
)

Parameters

spatialReference
(Optional) The SpatialReference. The default value is null.

Return Value

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 3.0 or higher.
See Also