次の方法で共有


DbSpatialServices.PointAt メソッド

定義

オーバーロード

PointAt(DbGeography, Int32)

指定された DbGeography 値がラインストリングまたは線形リングを表す場合、そのポイント要素を返します。

PointAt(DbGeometry, Int32)

指定された DbGeometry 値がラインストリングまたは線形リングを表す場合、そのポイント要素を返します。

PointAt(DbGeography, Int32)

指定された DbGeography 値がラインストリングまたは線形リングを表す場合、そのポイント要素を返します。

public abstract System.Data.Entity.Spatial.DbGeography PointAt(System.Data.Entity.Spatial.DbGeography geographyValue, int index);
abstract member PointAt : System.Data.Entity.Spatial.DbGeography * int -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function PointAt (geographyValue As DbGeography, index As Integer) As DbGeography

パラメーター

geographyValue
DbGeography

geography 値。ラインストリングおよび線形リングを表す必要はありません。

index
Int32

要素を取得する、geography 値内の位置。

戻り値

位置インデックスの geographyValue 内のポイント (線文字列または線形リングを表す場合)。それ以外の場合は null。

例外

geographyValue が null です。

geographyValue は、この空間サービスの実装と互換性がありません。

適用対象

PointAt(DbGeometry, Int32)

指定された DbGeometry 値がラインストリングまたは線形リングを表す場合、そのポイント要素を返します。

public abstract System.Data.Entity.Spatial.DbGeometry PointAt(System.Data.Entity.Spatial.DbGeometry geometryValue, int index);
abstract member PointAt : System.Data.Entity.Spatial.DbGeometry * int -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function PointAt (geometryValue As DbGeometry, index As Integer) As DbGeometry

パラメーター

geometryValue
DbGeometry

geometry 値。ラインストリングまたは線形リングを表す必要はありません。

index
Int32

要素を取得する、geometry 値内の位置。

戻り値

linestring または線形リングを表す場合は、位置インデックスの geometryValue 内のポイント。それ以外の場合は null。

例外

geometryValue が null です。

geometryValue は、この空間サービスの実装と互換性がありません。

適用対象