DbGeometry.ElementAt Method (Int32)

 

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

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

public DbGeometry ElementAt(
	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 collection of other geometry values; otherwise, null.