GeometryCollection.AddRange

GeometryCollection.AddRange method

Adds the specified geometries to the collection.

public void AddRange(IEnumerable<IGeometry> geometries)
ParameterTypeDescription
geometriesIEnumerable`1The geometries to add.

Exceptions

exceptioncondition
ArgumentNullExceptionThe argument is null.
ArgumentExceptionThe collection does not accept geometries of this type.

See Also