语言

DbGeography.PointAt(Int32) 方法

定义

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

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

参数

index
Int32

索引。

返回

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

适用于