語言

SqlSpatialServices.GetMeasure 方法

定義

多載

名稱 Description
GetMeasure(DbGeography)

若該值代表一個點,則回傳給定 DbGeography 值的 M(測度)座標。

GetMeasure(DbGeometry)

若該值代表一個點,則回傳給定 DbGeometry 值的 M(測度)座標。

GetMeasure(DbGeography)

若該值代表一個點,則回傳給定 DbGeography 值的 M(測度)座標。

public override Nullable<double> GetMeasure(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetMeasure : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public Overrides Function GetMeasure (geographyValue As DbGeography) As Nullable(Of Double)

參數

geographyValue
DbGeography

地理值,不必代表一個點。

傳回

給定 DbGeography 值的 M(測度)座標。

適用於

GetMeasure(DbGeometry)

若該值代表一個點,則回傳給定 DbGeometry 值的 M(測度)座標。

public override Nullable<double> GetMeasure(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetMeasure : System.Data.Entity.Spatial.DbGeometry -> Nullable<double>
Public Overrides Function GetMeasure (geometryValue As DbGeometry) As Nullable(Of Double)

參數

geometryValue
DbGeometry

幾何值,不必代表一個點。

傳回

給定 DbGeometry 值的 M(測度)座標。

適用於