次の方法で共有


AsGml メソッド

SqlGeometry インスタンスの Geography Markup Language (GML) 表現を返します。

名前空間:  Microsoft.SqlServer.Types
アセンブリ:  Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)

構文

'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function AsGml As SqlXml
'使用
Dim instance As SqlGeometry
Dim returnValue As SqlXml

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

戻り値

型: System.Data.SqlTypes. . :: . .SqlXml
呼び出し元の SqlGeometry インスタンスの GML 表現を含む SqlXml 値です。