共用方式為


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 命名空間