<PackageReference Include="Azure.Core" Version="1.45.0" />

GeoCollection

Represents a geometry that is composed of multiple geometries.
public int Count { get; }

Gets the number of elements in the collection.

public GeoObject this[int index] { get; }

Gets the element at the specified index in the read-only list.

public GeoCollection(IEnumerable<GeoObject> geometries)

Initializes new instance of GeoCollection.

public GeoCollection(IEnumerable<GeoObject> geometries, GeoBoundingBox boundingBox, IReadOnlyDictionary<string, object> customProperties)

Initializes new instance of GeoCollection.

Returns an enumerator that iterates through the collection.