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. 的geographyValue对称差异的新otherGeography值。

例外

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值,表示两geometryValue者之间的otherGeometry对称差异。

例外

geometryValue otherGeometry

geometryValue otherGeometry

适用于