Share via


DbGeometry.ElementAt(Int32) Method

Definition

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

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

Parameters

index
Int32

The index.

Returns

An element of this DbGeometry value from a specific position.

Applies to