Table of Contents

Method MultiLineString

Namespace
MongoDB.Driver.GeoJsonObjectModel
Assembly
MongoDB.Driver.dll

MultiLineString<TCoordinates>(GeoJsonObjectArgs<TCoordinates>, params GeoJsonLineStringCoordinates<TCoordinates>[])

Creates a GeoJson MultiLineString object.

public static GeoJsonMultiLineString<TCoordinates> MultiLineString<TCoordinates>(GeoJsonObjectArgs<TCoordinates> args, params GeoJsonLineStringCoordinates<TCoordinates>[] lineStrings) where TCoordinates : GeoJsonCoordinates

Parameters

args GeoJsonObjectArgs<TCoordinates>

The additional args.

lineStrings GeoJsonLineStringCoordinates<TCoordinates>[]

The line strings.

Returns

GeoJsonMultiLineString<TCoordinates>

A GeoJson MultiLineString object.

Type Parameters

TCoordinates

The type of the coordinates.

MultiLineString<TCoordinates>(params GeoJsonLineStringCoordinates<TCoordinates>[])

Creates a GeoJson MultiLineString object.

public static GeoJsonMultiLineString<TCoordinates> MultiLineString<TCoordinates>(params GeoJsonLineStringCoordinates<TCoordinates>[] lineStrings) where TCoordinates : GeoJsonCoordinates

Parameters

lineStrings GeoJsonLineStringCoordinates<TCoordinates>[]

The line strings.

Returns

GeoJsonMultiLineString<TCoordinates>

A GeoJson MultiLineString object.

Type Parameters

TCoordinates

The type of the coordinates.