DbSpatialServices.Union 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
计算两个值的联合。
重载
| 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.DbGeographyPublic 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.DbGeometryPublic MustOverride Function Union (geometryValue As DbGeometry, otherGeometry As DbGeometry) As DbGeometry参数
- geometryValue
- DbGeometry
第一个几何图形值。
- otherGeometry
- DbGeometry
第二个几何图形值。
返回
一个新的 DbGeometry 值,它表示 geometryValue 和 otherGeometry 的联合。
例外
geometryValue
otherGeometry
geometryValue
otherGeometry