Compartir a través de


DbSpatialServices.Difference Método

Definición

Calcula la diferencia de dos valores.

Sobrecargas

Difference(DbGeography, DbGeography)

Calcula la diferencia de dos valores de DbGeography .

Difference(DbGeometry, DbGeometry)

Calcula la diferencia entre dos valores DbGeometry.

Difference(DbGeography, DbGeography)

Calcula la diferencia de dos valores de DbGeography .

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

Parámetros

geographyValue
DbGeography

Primer valor de geografía.

otherGeography
DbGeography

Segundo valor de geografía.

Devoluciones

Nuevo valor de DbGeography que representa la diferencia de geographyValue y otherGeography.

Excepciones

geographyValue otherGeography

geographyValue otherGeography

Se aplica a

Difference(DbGeometry, DbGeometry)

Calcula la diferencia entre dos valores DbGeometry.

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

Parámetros

geometryValue
DbGeometry

Primer valor de geometría.

otherGeometry
DbGeometry

Segundo valor de geometría.

Devoluciones

Un nuevo valor de DbGeometry que representa la diferencia simétrica entre geometryValue y otherGeometry.

Excepciones

geometryValue otherGeometry

geometryValue otherGeometry

Se aplica a