Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DbGeography.ElementAt Method

.NET Framework 4.6 and 4.5

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

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

public DbGeography ElementAt(
	int index
)

Parameters

index
Type: System.Int32

The index.

Return Value

Type: System.Data.Spatial.DbGeography
An element of this DbGeography value from a specific position

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft