SqlGeography.M 属性
返回地域实例的 M(度量)值。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
public SqlDouble M {
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
get;
}
public:
property SqlDouble M {
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
SqlDouble get();
}
member M : SqlDouble with get
Public ReadOnly Property M As SqlDouble
属性值
Type: System.Data.SqlTypes.SqlDouble
一个指示度量值的 SqlDouble 值。
备注
度量值的语义是用户定义的,但是通常用于描述沿线条的距离。 例如,度量值可用于跟踪某条公路上的里程碑。
此属性的值为 null,如果地域实例不是一个点,以及将用于为其任何 Point 实例未设置此值。
该属性为只读。
M 值不在库进行的任何计算中使用,并且将不通过任何库计算传递。
另请参阅
SqlGeography 类
Microsoft.SqlServer.Types 命名空间
返回页首