GetDimension Method (DbGeometry)
Collapse the table of content
Expand the table of content

DbSpatialServices.GetDimension Method (DbGeometry)

.NET Framework (current version)
 

Gets the dimension of the given DbGeometry 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(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Spatial.DbGeometry

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

Return Value

Type: System.Int32

The dimension of geometryValue, or the largest element dimension if DbGeometry is a collection.

Exception Condition
ArgumentNullException

geometryValue

ArgumentException

geometryValue

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft