Partager via


Méthode AsTextZM

Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a SqlGeometry instance, augmented with any Z (elevation) and M (measure) values carried by the instance.

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

Syntaxe

'Déclaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function AsTextZM As SqlChars
'Utilisation
Dim instance As SqlGeometry
Dim returnValue As SqlChars

returnValue = instance.AsTextZM()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlChars AsTextZM()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlChars^ AsTextZM()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member AsTextZM : unit -> SqlChars 
public function AsTextZM() : SqlChars

Valeur de retour

Type : System.Data.SqlTypes. . :: . .SqlChars
A SqlChars value containing the WKT representation of the SqlGeometry value.