语言

DbGeography.ElementAt(Int32) 方法

定义

如果表示地理集合,则从特定位置返回此 DbGeography 值的元素。 <param name=“index”>应从中获取元素的地理值中的位置。</param><返回>位于指定位置的此地理值中的元素(如果它表示其他地理值的集合);否则为 null。</returns>

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

参数

index
Int32

索引。

返回

来自特定位置的此 DbGeography 值的元素

适用于