共用方式為


DbSpatialServices.GetSpatialTypeName 方法

定義

多載

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 為 null。

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 為 null。

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

適用於