Class GeoJsonGeometryCollection

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.GeoJsonObjectModel

Assembly

MongoDB.Driver.dll

Represents a GeoJson GeometryCollection object.

[BsonSerializer(typeof(GeoJsonGeometryCollectionSerializer<>))]
public class GeoJsonGeometryCollection<TCoordinates> : GeoJsonGeometry<TCoordinates> where TCoordinates : GeoJsonCoordinates

Type Parameters

TCoordinates

The type of the coordinates.

Inheritance

GeoJsonGeometryCollection

Inherited Members

Constructors

GeoJsonGeometryCollection(GeoJsonObjectArgs, IEnumerable<GeoJsonGeometry>)

Initializes a new instance of the GeoJsonGeometryCollection class.

GeoJsonGeometryCollection(IEnumerable<GeoJsonGeometry>)

Initializes a new instance of the GeoJsonGeometryCollection class.

Properties

Geometries

Gets the geometries.

Type

Gets the type of the GeoJson object.