次の方法で共有


SqlGeometry.STUnion メソッド

任意の SqlGeometry インスタンスと別の SqlGeometry インスタンスとの和集合を表すオブジェクトを返します。

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

構文

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

returnValue = instance.STUnion(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STUnion(
    SqlGeometry other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeometry^ STUnion(
    SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STUnion : 
        other:SqlGeometry -> SqlGeometry
public function STUnion(
    other : SqlGeometry
) : SqlGeometry

パラメーター

戻り値

型: Microsoft.SqlServer.Types.SqlGeometry
呼び出し元の SqlGeometry と指定された SqlGeometry の和集合を表す SqlGeometry オブジェクトです。

説明

2 つの SqlGeometry インスタンスの SRID (spatial reference ID) が一致しない場合、このメソッドは常に nullNULL 参照 (Visual Basic では Nothing) を返します。

関連項目

参照

SqlGeometry クラス

Microsoft.SqlServer.Types 名前空間