DbSpatialServices.GetMeasure Method

 

Returns the M (Measure) coordinate of the given value.

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

NameDescription
System_CAPS_pubmethodGetMeasure(DbGeography)

Returns the M (Measure) coordinate of the given DbGeography value, if it represents a point.

System_CAPS_pubmethodGetMeasure(DbGeometry)

Returns the M (Measure) coordinate of the given DbGeometry value, if it represents a point.


DbSpatialServices.GetMeasure Method (DbGeography)

Returns the M (Measure) coordinate of the given DbGeography value, if it represents a point.

public abstract Nullable<double> GetMeasure(
	DbGeography geographyValue
)

Parameters

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

The geography value, which need not represent a point.

Return Value

Type: System.Nullable<Double>

The M (Measure) coordinate of the given DbGeography value.

Exception Condition
ArgumentNullException

geographyValue is null.

ArgumentException

geographyValue is not compatible with this spatial services implementation.


DbSpatialServices.GetMeasure Method (DbGeometry)

Returns the M (Measure) coordinate of the given DbGeometry value, if it represents a point.

public abstract Nullable<double> GetMeasure(
	DbGeometry geometryValue
)

Parameters

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

The geometry value, which need not represent a point.

Return Value

Type: System.Nullable<Double>

The M (Measure) coordinate of the given DbGeometry value.

Exception Condition
ArgumentNullException

geometryValue is null.

ArgumentException

geometryValue is not compatible with this spatial services implementation.