Partilhar via


DbSpatialServices.Difference Método

Definição

Calcula a diferença de dois valores.

Sobrecargas

Difference(DbGeography, DbGeography)

Calcula a diferença de dois valores DbGeography.

Difference(DbGeometry, DbGeometry)

Calcula a diferença entre dois valores DbGeometry.

Difference(DbGeography, DbGeography)

Calcula a diferença de dois valores 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

O primeiro valor de geografia.

otherGeography
DbGeography

O segundo valor de geografia.

Retornos

Um novo valor DbGeography que representa a diferença de geographyValue e otherGeography.

Exceções

geographyValue otherGeography

geographyValue otherGeography

Aplica-se a

Difference(DbGeometry, DbGeometry)

Calcula a diferença entre dois 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

O primeiro valor de geometria.

otherGeometry
DbGeometry

O segundo valor de geometria.

Retornos

Um novo valor DbGeometry que representa a diferença entre geometryValue e otherGeometry.

Exceções

geometryValue otherGeometry

geometryValue otherGeometry

Aplica-se a