SqlSpatialServices.GetDimension Method

Definition

Overloads

GetDimension(DbGeography)

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

GetDimension(DbGeometry)

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

GetDimension(DbGeography)

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

public override int GetDimension (System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetDimension : System.Data.Entity.Spatial.DbGeography -> int
Public Overrides Function GetDimension (geographyValue As DbGeography) As Integer

Parameters

geographyValue
DbGeography

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

Returns

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

Applies to

GetDimension(DbGeometry)

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

public override int GetDimension (System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetDimension : System.Data.Entity.Spatial.DbGeometry -> int
Public Overrides Function GetDimension (geometryValue As DbGeometry) As Integer

Parameters

geometryValue
DbGeometry

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

Returns

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

Applies to