DbSpatialServices.GetDimension Method (DbGeography)

.NET Framework (current version)
 

Gets the dimension of the given DbGeography value or, if the value is a collections, the largest element dimension.

Namespace:   System.Data.Spatial
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract int GetDimension(
	DbGeography geographyValue
)

Parameters

geographyValue
Type: System.Data.Spatial.DbGeography

The geography value for which the dimension value should be retrieved.

Return Value

Type: System.Int32

The dimension of geographyValue, or the largest element dimension if DbGeography is a collection.

Exception Condition
ArgumentNullException

geographyValue

ArgumentException

geographyValue

.NET Framework
Available since 4.5
Return to top
Show: