次の方法で共有


STLineFromWKB メソッド

Open Geospatial Consortium (OGC) の Well-Known Binary (WKB) 表現を基に SqlGeometry の LineString インスタンスを返します。

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

構文

'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Shared Function STLineFromWKB ( _
    wkbLineString As SqlBytes, _
    srid As Integer _
) As SqlGeometry
'使用
Dim wkbLineString As SqlBytes
Dim srid As Integer
Dim returnValue As SqlGeometry

returnValue = SqlGeometry.STLineFromWKB(wkbLineString, _
    srid)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public static SqlGeometry STLineFromWKB(
    SqlBytes wkbLineString,
    int srid
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
static SqlGeometry^ STLineFromWKB(
    SqlBytes^ wkbLineString, 
    int srid
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
static member STLineFromWKB : 
        wkbLineString:SqlBytes * 
        srid:int -> SqlGeometry 
public static function STLineFromWKB(
    wkbLineString : SqlBytes, 
    srid : int
) : SqlGeometry

パラメーター

戻り値

型: Microsoft.SqlServer.Types. . :: . .SqlGeometry
指定した WKB 表現を基に構築された SqlGeometry オブジェクトです。

説明

このメソッドは、入力が適切な形式でない場合に、FormatException をスローします。

このメンバーは static です。