Delen via


GeoLineStringCollection Class

Definition

Represents a geometry that is composed of multiple GeoLineString.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Core.GeoJson.GeoJsonConverter))]
public sealed class GeoLineStringCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable<Azure.Core.GeoJson.GeoLineString>, System.Collections.Generic.IReadOnlyCollection<Azure.Core.GeoJson.GeoLineString>, System.Collections.Generic.IReadOnlyList<Azure.Core.GeoJson.GeoLineString>
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Core.GeoJson.GeoJsonConverter))>]
type GeoLineStringCollection = class
    inherit GeoObject
    interface IReadOnlyList<GeoLineString>
    interface seq<GeoLineString>
    interface IEnumerable
    interface IReadOnlyCollection<GeoLineString>
Public NotInheritable Class GeoLineStringCollection
Inherits GeoObject
Implements IEnumerable(Of GeoLineString), IReadOnlyCollection(Of GeoLineString), IReadOnlyList(Of GeoLineString)
Inheritance
GeoLineStringCollection
Attributes
Implements

Constructors

GeoLineStringCollection(IEnumerable<GeoLineString>, GeoBoundingBox, IReadOnlyDictionary<String,Object>)

Initializes new instance of GeoLineStringCollection.

GeoLineStringCollection(IEnumerable<GeoLineString>)

Initializes new instance of GeoLineStringCollection.

Properties

BoundingBox

Represents information about the coordinate range of the GeoObject.

(Inherited from GeoObject)
Coordinates

Returns a view over the coordinates array that forms this geometry.

Count

Gets the number of elements in the collection.

Item[Int32]

Gets the element at the specified index in the read-only list.

Type

Gets the GeoJSON type of this object.

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

ToString()

Converts an instance of GeoObject to a GeoJSON representation.

(Inherited from GeoObject)
TryGetCustomProperty(String, Object)

Tries to get a value of a custom property associated with the GeoObject.

(Inherited from GeoObject)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Applies to