Partager via


Propriété SqlGeometry.M

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

Espace de noms :  Microsoft.SqlServer.Types
Assembly :  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Syntaxe

'Déclaration
Public ReadOnly Property M As SqlDouble 
    Get
'Utilisation
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

Valeur de propriété

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

Notes

The value of this property is nullune référence Null (Nothing dans Visual Basic) 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.

Voir aussi

Référence

SqlGeometry Classe

Espace de noms Microsoft.SqlServer.Types