共用方式為


SqlSpatialServices.PointAt 方法

定義

多載

PointAt(DbGeography, Int32)

傳回指定的 DbGeography 值的點項目,如果它代表 linestring 或線型圓圈。

PointAt(DbGeometry, Int32)

傳回指定的 DbGeometry 值的點項目,如果它代表 linestring 或線型圓圈。

PointAt(DbGeography, Int32)

傳回指定的 DbGeography 值的點項目,如果它代表 linestring 或線型圓圈。

public override System.Data.Entity.Spatial.DbGeography PointAt(System.Data.Entity.Spatial.DbGeography geographyValue, int index);
override this.PointAt : System.Data.Entity.Spatial.DbGeography * int -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function PointAt (geographyValue As DbGeography, index As Integer) As DbGeography

參數

geographyValue
DbGeography

地理位置值,不需要代表 linestring 或線型圓圈。

index
Int32

地理位置值中的位置,應該在此取得項目。

傳回

geographyValue 中位於位置索引處的點,如果它代表 linestring 或線性環形,則為 ;否則為 null。

適用於

PointAt(DbGeometry, Int32)

傳回指定的 DbGeometry 值的點項目,如果它代表 linestring 或線型圓圈。

public override System.Data.Entity.Spatial.DbGeometry PointAt(System.Data.Entity.Spatial.DbGeometry geometryValue, int index);
override this.PointAt : System.Data.Entity.Spatial.DbGeometry * int -> System.Data.Entity.Spatial.DbGeometry
Public Overrides Function PointAt (geometryValue As DbGeometry, index As Integer) As DbGeometry

參數

geometryValue
DbGeometry

不需要代表 linestring 或線性環的幾何值。

index
Int32

幾何值中的位置,應該在此取得項目。

傳回

geometryValue 中位於位置索引處的點,如果它代表線條字串或線性環形,則為 ;否則為 null。

適用於