SqlSpatialServices.GetLength 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetLength(DbGeometry) |
回傳一個可為無的雙重值,表示該 DbGeometry 值的長度,若該值不代表曲線,則可能是空值。 |
| GetLength(DbGeography) |
回傳一個可為無的雙重值,表示該 DbGeography 值的長度,若該值不代表曲線,則可能是空值。 |
GetLength(DbGeometry)
回傳一個可為無的雙重值,表示該 DbGeometry 值的長度,若該值不代表曲線,則可能是空值。
public override Nullable<double> GetLength(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetLength : System.Data.Entity.Spatial.DbGeometry -> Nullable<double>
Public Overrides Function GetLength (geometryValue As DbGeometry) As Nullable(Of Double)
參數
- geometryValue
- DbGeometry
幾何值,不必代表曲線。
傳回
給定 DbGeometry 值的長度。
適用於
GetLength(DbGeography)
回傳一個可為無的雙重值,表示該 DbGeography 值的長度,若該值不代表曲線,則可能是空值。
public override Nullable<double> GetLength(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetLength : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public Overrides Function GetLength (geographyValue As DbGeography) As Nullable(Of Double)
參數
- geographyValue
- DbGeography
地理值,不必代表曲線。
傳回
給定 DbGeography 值的長度。