DbSpatialServices.GetMeasure 方法

定义

返回给定值的 M(Measure)坐标。Returns the M (Measure) coordinate of the given value.

重载

GetMeasure(DbGeography)

如果其表示点,则返回给定 DbGeography 值的 M(测量)坐标。Returns the M (Measure) coordinate of the given DbGeography value, if it represents a point.

GetMeasure(DbGeometry)

如果其表示点,则返回给定 DbGeometry 值的 M(测量)坐标。Returns the M (Measure) coordinate of the given DbGeometry value, if it represents a point.

GetMeasure(DbGeography)

如果其表示点,则返回给定 DbGeography 值的 M(测量)坐标。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)

参数

geographyValue
DbGeography

不需要表示点的地理值。The geography value, which need not represent a point.

返回

Nullable<Double>

给定的 DbGeography 值的 M (测量)坐标。The M (Measure) coordinate of the given DbGeography value.

例外

geographyValue

geographyValue

适用于

GetMeasure(DbGeometry)

如果其表示点,则返回给定 DbGeometry 值的 M(测量)坐标。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)

参数

geometryValue
DbGeometry

不需要表示点的几何图形值。The geometry value, which need not represent a point.

返回

Nullable<Double>

给定的 DbGeometry 值的 M (测量)坐标。The M (Measure) coordinate of the given DbGeometry value.

例外

geometryValue

geometryValue

适用于