SqlSpatialServices.GetLength Method

 

Gets the length of a given value.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

NameDescription
System_CAPS_pubmethodGetLength(DbGeography)

Returns a nullable double value that indicates the length of the given DbGeography value, which may be null if the value does not represent a curve.(Overrides DbSpatialServices.GetLength(DbGeography).)

System_CAPS_pubmethodGetLength(DbGeometry)

Returns a nullable double value that indicates the length of the given DbGeometry value, which may be null if the value does not represent a curve.(Overrides DbSpatialServices.GetLength(DbGeometry).)


SqlSpatialServices.GetLength Method (DbGeography)

Returns a nullable double value that indicates the length of the given DbGeography value, which may be null if the value does not represent a curve.

public override Nullable<double> GetLength(
	DbGeography geographyValue
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The geography value, which need not represent a curve.

Return Value

Type: System.Nullable<Double>

The length of the given DbGeography value.


SqlSpatialServices.GetLength Method (DbGeometry)

Returns a nullable double value that indicates the length of the given DbGeometry value, which may be null if the value does not represent a curve.

public override Nullable<double> GetLength(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value, which need not represent a curve.

Return Value

Type: System.Nullable<Double>

The length of the given DbGeometry value.