語言

SqlSpatialServices.GetLength 方法

定義

多載

名稱 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 值的長度。

適用於