Edit

Share via


DbSpatialServices.GetMeasure Method

Definition

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

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:
 abstract Nullable<double> GetMeasure(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract double? GetMeasure (System.Data.Spatial.DbGeography geographyValue);
abstract member GetMeasure : System.Data.Spatial.DbGeography -> Nullable<double>
Public MustOverride 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.

Exceptions

geographyValue

geographyValue

Applies to

GetMeasure(DbGeometry)

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

public:
 abstract Nullable<double> GetMeasure(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract double? GetMeasure (System.Data.Spatial.DbGeometry geometryValue);
abstract member GetMeasure : System.Data.Spatial.DbGeometry -> Nullable<double>
Public MustOverride 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.

Exceptions

geometryValue

geometryValue

Applies to