語言

DbSpatialServices.GetSpatialTypeName 方法

定義

多載

名稱 Description
GetSpatialTypeName(DbGeography)

回傳一個表示該 DbGeography 值空間類型名稱的值。

GetSpatialTypeName(DbGeometry)

回傳一個表示該 DbGeometry 值空間類型名稱的值。

GetSpatialTypeName(DbGeography)

回傳一個表示該 DbGeography 值空間類型名稱的值。

public abstract string GetSpatialTypeName(System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetSpatialTypeName : System.Data.Entity.Spatial.DbGeography -> string
Public MustOverride Function GetSpatialTypeName (geographyValue As DbGeography) As String

參數

geographyValue
DbGeography

地理價值。

傳回

給定 DbGeography 值的空間型別名稱。

例外狀況

geographyValue 為零。

geographyValue 與此空間服務實作不相容。

適用於

GetSpatialTypeName(DbGeometry)

回傳一個表示該 DbGeometry 值空間類型名稱的值。

public abstract string GetSpatialTypeName(System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetSpatialTypeName : System.Data.Entity.Spatial.DbGeometry -> string
Public MustOverride Function GetSpatialTypeName (geometryValue As DbGeometry) As String

參數

geometryValue
DbGeometry

幾何數值。

傳回

給定 DbGeometry 值的空間型別名稱。

例外狀況

geometryValue 為零。

geometryValue 與此空間服務實作不相容。

適用於