DbSpatialServices.SymmetricDifference 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 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
第二個地理位置值。
傳回
表示 geographyValue 和其他Geography 對稱差異的新 DbGeography 值。
例外狀況
geographyValue 或
otherGeography 為 null。
geographyValue 或
otherGeography 與這個空間服務實作不相容。
適用於
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 與其他Geometry 之間對稱差異的新 DbGeometry 值。
例外狀況
geometryValue 或
otherGeometry 為 null。
geometryValue 或
otherGeometry 與這個空間服務實作不相容。