DbGeometry.ElementAt Method (Int32)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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>

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

public DbGeometry ElementAt(
	int index
)

Parameters

index
Type: System.Int32

The index.

Return Value

Type: System.Data.Spatial.DbGeometry

An element of this DbGeometry value from a specific position.

.NET Framework
Available since 4.5
Return to top
Show: