DbGeography.ElementAt(Int32) Method

Definition

Returns an element of this DbGeography value from a specific position, if it represents a geography collection.

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

Parameters

index
Int32

The position within this geography value from which the element should be taken.

Returns

The element in this geography value at the specified position, if it represents a collection of other geography values; otherwise null.

Applies to