SqlGeometry.M 属性

Gets the M (measure) value of the SqlGeometry instance. The semantics of the measure value are user-defined.

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
Public ReadOnly Property M As SqlDouble 
    Get
用法
Dim instance As SqlGeometry 
Dim value As SqlDouble 

value = instance.M
public SqlDouble M { get; }
public:
property SqlDouble M {
    SqlDouble get ();
}
member M : SqlDouble
function get M () : SqlDouble

属性值

类型:System.Data.SqlTypes.SqlDouble
A SqlDouble value containing the measure of the SqlGeometry value.

注释

The value of this property is nullnull 引用(在 Visual Basic 中为 Nothing) if the SqlGeometry instance is not a Point, as well as for any Point instance for which it is not set.

This property is read-only.

M values are not used in any calculations made by the library and will not be carried through any library calculations.

请参阅

参考

SqlGeometry 类

Microsoft.SqlServer.Types 命名空间