Open Geospatial Consortium (OGC) の Well-Known Binary (WKB) 表現を基に SqlGeometry の MultiPolygon インスタンスを返します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Shared Function STMPolyFromWKB ( _
wkbMultiPolygon As SqlBytes, _
srid As Integer _
) As SqlGeometry
'使用
Dim wkbMultiPolygon As SqlBytes
Dim srid As Integer
Dim returnValue As SqlGeometry
returnValue = SqlGeometry.STMPolyFromWKB(wkbMultiPolygon, _
srid)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public static SqlGeometry STMPolyFromWKB(
SqlBytes wkbMultiPolygon,
int srid
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
static SqlGeometry^ STMPolyFromWKB(
SqlBytes^ wkbMultiPolygon,
int srid
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
static member STMPolyFromWKB :
wkbMultiPolygon:SqlBytes *
srid:int -> SqlGeometry
public static function STMPolyFromWKB(
wkbMultiPolygon : SqlBytes,
srid : int
) : SqlGeometry
パラメーター
- wkbMultiPolygon
型: System.Data.SqlTypes.SqlBytes
返される SqlGeometry の MultiPolygon インスタンスの WKB 表現です。
- srid
型: System.Int32
返される SqlGeometry の MultiPolygon インスタンスの SRID (spatial reference ID) を表す int 式です。
戻り値
型: Microsoft.SqlServer.Types.SqlGeometry
指定した WKB 表現を基に構築された SqlGeometry オブジェクトです。
説明
このメンバーは static です。