DbSpatialServices.Union 方法

定义

计算两个值的并集。

重载

名称 说明
Union(DbGeography, DbGeography)

计算两 DbGeography 个值的并集。

Union(DbGeometry, DbGeometry)

计算两 DbGeometry 个值的并集。

Union(DbGeography, DbGeography)

计算两 DbGeography 个值的并集。

public:
 abstract System::Data::Spatial::DbGeography ^ Union(System::Data::Spatial::DbGeography ^ geographyValue, System::Data::Spatial::DbGeography ^ otherGeography);
public abstract System.Data.Spatial.DbGeography Union(System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography otherGeography);
abstract member Union : System.Data.Spatial.DbGeography * System.Data.Spatial.DbGeography -> System.Data.Spatial.DbGeography
Public MustOverride Function Union (geographyValue As DbGeography, otherGeography As DbGeography) As DbGeography

参数

geographyValue
DbGeography

第一个地理值。

otherGeography
DbGeography

第二个地理值。

返回

一个新 DbGeography 值, geographyValue 表示和 otherGeography

例外

geographyValue otherGeography

geographyValue otherGeography

适用于

Union(DbGeometry, DbGeometry)

计算两 DbGeometry 个值的并集。

public:
 abstract System::Data::Spatial::DbGeometry ^ Union(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract System.Data.Spatial.DbGeometry Union(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Union : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> System.Data.Spatial.DbGeometry
Public MustOverride Function Union (geometryValue As DbGeometry, otherGeometry As DbGeometry) As DbGeometry

参数

geometryValue
DbGeometry

第一个几何图形值。

otherGeometry
DbGeometry

第二个几何图形值。

返回

一个新 DbGeometry 值, geometryValue 表示和 otherGeometry

例外

geometryValue otherGeometry

geometryValue otherGeometry

适用于