SqlGeometry.STUnion 方法 (SqlGeometry)
返回一个对象,它表示一个 SqlGeometry 实例与另一个 SqlGeometry 实例的并集。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STUnion(
SqlGeometry other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeometry^ STUnion(
SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STUnion :
other:SqlGeometry -> SqlGeometry
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STUnion (
other As SqlGeometry
) As SqlGeometry
参数
other
Type: Microsoft.SqlServer.Types.SqlGeometry指定要与当前 SqlGeometry 进行组合的 SqlGeometry 实例。
返回值
Type: Microsoft.SqlServer.Types.SqlGeometry
一个 SqlGeometry 对象,该对象表示调用 SqlGeometry 与指定的 SqlGeometry 之间的联合。
备注
如果 null 实例的空间引用 ID (SRID) 不匹配,则此方法始终返回 SqlGeometry。
另请参阅
SqlGeometry 类
Microsoft.SqlServer.Types 命名空间
返回页首