DbGeography.ElementAt(Int32) 方法

定义

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

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 值的元素

适用于