SqlGeometry.M 属性

 

获取 SqlGeometry 实例的 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

一个包含 SqlGeometry 值的度量的 SqlDouble 值。

备注

此属性的值是 null 如果 SqlGeometry 实例不是一个点,以及将用于为其任何 Point 实例未设置此值。

该属性为只读。

M 值不在库进行的任何计算中使用,并且将不通过任何库计算传递。

另请参阅

SqlGeometry 类
Microsoft.SqlServer.Types 命名空间

返回页首