SqlGeometry.STAsBinary 方法 ()

 

返回的开放地理空间联盟 (OGC) 熟知二进制 (WKB) 表示形式 SqlGeometry 实例。 此值不包含该实例传递的任何 Z 或 M 值。

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlBytes STAsBinary()
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
SqlBytes^ STAsBinary()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STAsBinary : unit -> SqlBytes
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)>
Public Function STAsBinary As SqlBytes

返回值

Type: System.Data.SqlTypes.SqlBytes

一个 SqlBytes 对象,该对象包含 SqlGeometry 的 WKB 表示形式。

另请参阅

SqlGeometry 类
Microsoft.SqlServer.Types 命名空间

返回页首