SqlGeography.M 속성

Returns the M (measure) value of the geography instance.

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)


Public ReadOnly Property M As SqlDouble 
‘사용 방법
Dim instance As SqlGeography 
Dim value As SqlDouble 

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

속성 값

유형: System.Data.SqlTypes.SqlDouble
A SqlDouble value that specifies the measure value.


The semantics of the measure value are user-defined but generally describe the distance along a linestring. For example, the measure value could be used to keep track of mileposts along a road.

The value of this property is null if the geography 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.

참고 항목


SqlGeography 클래스

Microsoft.SqlServer.Types 네임스페이스