DbGeometry.PointAt Method (Int32)

 

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

Namespace:   System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

public DbGeometry PointAt(
	int index
)

Parameters

index
Type: System.Int32

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

Return Value

Type: System.Data.Entity.Spatial.DbGeometry

The element in this geometry value at the specified position, if it represents a linestring or linear ring; otherwise, null.