SqlGeometry.STAsText 메서드

Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a SqlGeometry instance. This text will not contain any Z (elevation) or M (measure) values carried by the instance.

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


<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STAsText As SqlChars
‘사용 방법
Dim instance As SqlGeometry 
Dim returnValue As SqlChars 

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

반환 값

유형: System.Data.SqlTypes.SqlChars
A SqlChars object containing the WKT representation of the SqlGeometry.

참고 항목


SqlGeometry 클래스

Microsoft.SqlServer.Types 네임스페이스