DbGeography.ElementAt(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果表示地理集合,则从特定位置返回此 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 值的元素