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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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