Edit

Share via


DbGeometry.ElementAt(Int32) Method

Definition

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

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

Parameters

index
Int32

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

Returns

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

Applies to