ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeometryBagBuilderEx Class / CreateGeometryBag Method / CreateGeometryBag(GeometryBagBuilderEx,SpatialReference) Method
The GeometryBagBuilderEx to copy
(Optional) The SpatialReference. The default value is null. If the input spatial reference is null, then the spatial reference from the input builder is used.

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

    Parameters

    geometryBagBuilderEx
    The GeometryBagBuilderEx to copy
    spatialReference
    (Optional) The SpatialReference. The default value is null. If the input spatial reference is null, then the spatial reference from the input builder is used.
    Exceptions
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also