SqlSpatialServices.GetMeasure 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | 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(測度)座標。