次の方法で共有


SqlGeography.STMPointFromWKB メソッド

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

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

構文

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

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

パラメーター

  • srid
    型: System.Int32
    返される SqlGeography の MultiPoint インスタンスの SRID (Spatial Reference ID) を表す int 式です。

戻り値

型: Microsoft.SqlServer.Types.SqlGeography
指定した WKB 表現に基づいて構築された SqlGeography インスタンスです。

説明

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

関連項目

参照

SqlGeography クラス

Microsoft.SqlServer.Types 名前空間