DbSpatialServices.GetSpatialTypeName Method

Definition

Returns a value that indicates the spatial type name of the given value.

Overloads

GetSpatialTypeName(DbGeography)

Returns a value that indicates the spatial type name of the given DbGeography value.

GetSpatialTypeName(DbGeometry)

Returns a value that indicates the spatial type name of the given DbGeometry value.

GetSpatialTypeName(DbGeography)

Returns a value that indicates the spatial type name of the given DbGeography value.

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

Parameters

geographyValue
DbGeography

The geography value.

Returns

The spatial type name of the given DbGeography value.

Applies to

GetSpatialTypeName(DbGeometry)

Returns a value that indicates the spatial type name of the given DbGeometry value.

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

Parameters

geometryValue
DbGeometry

The geometry value.

Returns

The spatial type name of the given DbGeometry value.

Applies to