Click or drag to resize

GeoJson.GeometryCollection<TCoordinates> Method (GeoJsonObjectArgs<TCoordinates>,GeoJsonGeometry<TCoordinates>[])

Creates a GeoJson GeometryCollection object.

Namespace:  MongoDB.Driver.GeoJsonObjectModel
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public static GeoJsonGeometryCollection<TCoordinates> GeometryCollection<TCoordinates>(
	GeoJsonObjectArgs<TCoordinates> args,
	params GeoJsonGeometry<TCoordinates>[] geometries
)
where TCoordinates : GeoJsonCoordinates

Parameters

args
Type: MongoDB.Driver.GeoJsonObjectModel.GeoJsonObjectArgs<TCoordinates>
The additional args.
geometries
Type:MongoDB.Driver.GeoJsonObjectModel.GeoJsonGeometry<TCoordinates>[]
The geometries.

Type Parameters

TCoordinates
The type of the coordinates.

Return Value

Type: GeoJsonGeometryCollection<TCoordinates>
A GeoJson GeometryCollection object.
See Also