DbSpatialServices.GetMeasure 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳給定值的 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