次の方法で共有


DbSpatialServices.GetMeasure メソッド

定義

オーバーロード

GetMeasure(DbGeography)

指定された DbGeography 値がポイントを表す場合、その値の M (メジャー) 座標を返します。

GetMeasure(DbGeometry)

指定された DbGeometry 値がポイントを表す場合、その値の M (メジャー) 座標を返します。

GetMeasure(DbGeography)

指定された DbGeography 値がポイントを表す場合、その値の M (メジャー) 座標を返します。

public abstract Nullable<double> GetMeasure(System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetMeasure : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public MustOverride Function GetMeasure (geographyValue As DbGeography) As Nullable(Of Double)

パラメーター

geographyValue
DbGeography

ポイントを表す必要のない geography 値。

戻り値

指定された DbGeography 値の M (メジャー) 座標。

例外

geographyValue が null です。

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

適用対象

GetMeasure(DbGeometry)

指定された DbGeometry 値がポイントを表す場合、その値の M (メジャー) 座標を返します。

public abstract Nullable<double> GetMeasure(System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetMeasure : System.Data.Entity.Spatial.DbGeometry -> Nullable<double>
Public MustOverride Function GetMeasure (geometryValue As DbGeometry) As Nullable(Of Double)

パラメーター

geometryValue
DbGeometry

ポイントを表す必要のない geometry 値。

戻り値

指定された DbGeometry 値の M (メジャー) 座標。

例外

geometryValue が null です。

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

適用対象