DbGeography.PointAt(Int32) Method

Definition

Returns an element of this DbGeography value from a specific position, if it represents a linestring or linear ring.

public:
 System::Data::Spatial::DbGeography ^ PointAt(int index);
public System.Data.Spatial.DbGeography PointAt (int index);
member this.PointAt : int -> System.Data.Spatial.DbGeography
Public Function PointAt (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 linestring or linear ring; otherwise, null.

Applies to