語言

DbSpatialServices.GetMeasure 方法

定義

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

多載

名稱 Description
GetMeasure(DbGeography)

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

GetMeasure(DbGeometry)

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

GetMeasure(DbGeography)

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

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

參數

geographyValue
DbGeography

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

傳回

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

例外狀況

geographyValue

geographyValue

適用於

GetMeasure(DbGeometry)

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

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

參數

geometryValue
DbGeometry

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

傳回

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

例外狀況

geometryValue

geometryValue

適用於