次の方法で共有


STAsBinary メソッド

SqlGeometry インスタンスについて Open Geospatial Consortium (OGC) の Well-Known Binary (WKB) 表現を返します。この値には、インスタンスに格納されている Z 値または M 値が含まれません。

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

構文

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

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

戻り値

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