DbSpatialServices.SymmetricDifference 方法

定义

计算两个值之间的对称差异。

重载

SymmetricDifference(DbGeography, DbGeography)

计算两个 DbGeography 值之间的对称差异。

SymmetricDifference(DbGeometry, DbGeometry)

计算两个 DbGeometry 值之间的对称差异。

SymmetricDifference(DbGeography, DbGeography)

计算两个 DbGeography 值之间的对称差异。

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

参数

geographyValue
DbGeography

第一个地理值。

otherGeography
DbGeography

第二个地理值。

返回

一个新的 DbGeography 值,它代表 geographyValueotherGeography 的对称差异。

例外

geographyValue otherGeography

geographyValue otherGeography

适用于

SymmetricDifference(DbGeometry, DbGeometry)

计算两个 DbGeometry 值之间的对称差异。

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

参数

geometryValue
DbGeometry

第一个几何图形值。

otherGeometry
DbGeometry

第二个几何图形值。

返回

一个新的 DbGeometry 值,它表示 geometryValueotherGeometry 之间的对称差异。

例外

geometryValue otherGeometry

geometryValue otherGeometry

适用于