次の方法で共有


SqlGeometry.STAsText メソッド

SqlGeometry インスタンスについて Open Geospatial Consortium (OGC) の Well-Known Text (WKT) 表現を返します。 このテキストは、インスタンスに格納されている Z (標高) 値または M (メジャー) 値を含みません。

名前空間:  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)]
public:
SqlChars^ STAsText()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STAsText : unit -> SqlChars
public function STAsText() : SqlChars

戻り値

型: System.Data.SqlTypes.SqlChars
SqlGeometry の WKT 表現を含む SqlChars オブジェクトです。

関連項目

参照

SqlGeometry クラス

Microsoft.SqlServer.Types 名前空間