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

In This Topic
    CreateGeometryBag(SpatialReference) Method
    In This Topic
    Convenience method to create a new empty instance of the GeometryBag class.
    Syntax
    public static GeometryBag CreateGeometryBag( 
       SpatialReference spatialReference
    )
    Public Overloads Shared Function CreateGeometryBag( _
       Optional ByVal spatialReference As SpatialReference _
    ) As GeometryBag

    Parameters

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

    Return Value

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also