DbGeography.ElementAt(Int32) Method

Definition

Returns an element of this DbGeography value from a specific position, if it represents a geography collection. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a collection of other geography values; otherwise null.</returns>

public System.Data.Entity.Spatial.DbGeography ElementAt (int index);
member this.ElementAt : int -> System.Data.Entity.Spatial.DbGeography
Public Function ElementAt (index As Integer) As DbGeography

Parameters

index
Int32

The index.

Returns

An element of this DbGeography value from a specific position

Applies to