語言

SqlSpatialServices.PointAt 方法

定義

多載

名稱 Description
PointAt(DbGeography, Int32)

若該點元素代表線串或線性環,則回傳給定 DbGeography 值的點元素。

PointAt(DbGeometry, Int32)

若該點元素代表線串或線性環,則回傳給定 DbGeometry 值的點元素。

PointAt(DbGeography, Int32)

若該點元素代表線串或線性環,則回傳給定 DbGeography 值的點元素。

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

地理值,不必代表線串或線性環。

index
Int32

該元素應從地理值中取出的位置。

傳回

地理中的位置指數點,若代表線串或線性環;否則為零。

適用於

PointAt(DbGeometry, Int32)

若該點元素代表線串或線性環,則回傳給定 DbGeometry 值的點元素。

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

幾何值,不必代表線條串或線性環。

index
Int32

元素應從幾何值中取出的位置。

傳回

geometryValue 中位置索引的點,若代表線串或線性環;否則為零。

適用於