DbSpatialServices.SymmetricDifference 方法

定义

重载

SymmetricDifference(DbGeography, DbGeography)

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

SymmetricDifference(DbGeometry, DbGeometry)

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

SymmetricDifference(DbGeography, DbGeography)

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

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

参数

geographyValue
DbGeography

第一个地理值。

otherGeography
DbGeography

第二个地理值。

返回

一个新 DbGeography 值,表示 geographyValue 和 otherGeography 的对称差异。

例外

geographyValueotherGeography 为 null。

geographyValueotherGeography 与此空间服务实现不兼容。

适用于

SymmetricDifference(DbGeometry, DbGeometry)

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

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

参数

geometryValue
DbGeometry

第一个几何图形值。

otherGeometry
DbGeometry

第二个几何图形值。

返回

表示 geometryValue 与 otherGeometry 之间的对称差异的新 DbGeometry 值。

例外

geometryValueotherGeometry 为 null。

geometryValueotherGeometry 与此空间服务实现不兼容。

适用于