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