Share via


SqlSpatialServices.GetMeasure Method

Definition

Overloads

GetMeasure(DbGeography)

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

GetMeasure(DbGeometry)

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

GetMeasure(DbGeography)

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

public override Nullable<double> GetMeasure (System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetMeasure : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public Overrides Function GetMeasure (geographyValue As DbGeography) As Nullable(Of Double)

Parameters

geographyValue
DbGeography

The geography value, which need not represent a point.

Returns

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

Applies to

GetMeasure(DbGeometry)

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

public override Nullable<double> GetMeasure (System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetMeasure : System.Data.Entity.Spatial.DbGeometry -> Nullable<double>
Public Overrides Function GetMeasure (geometryValue As DbGeometry) As Nullable(Of Double)

Parameters

geometryValue
DbGeometry

The geometry value, which need not represent a point.

Returns

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

Applies to