ToString Method
TOC
Collapse the table of content
Expand the table of content

SqlGeometry.ToString Method ()

 

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.

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Overrides Function ToString As String

Return Value

Type: System.String

A string value containing the WKT representation of the calling instance.

This method will return the string "Null" when called on null instances.

Return to top
Show:
© 2016 Microsoft