Partager via


DbSpatialServices.Difference Méthode

Définition

Calcule la différence de deux valeurs.

Surcharges

Difference(DbGeography, DbGeography)

Calcule la différence de deux valeurs DbGeography.

Difference(DbGeometry, DbGeometry)

Calcule la différence entre deux valeurs DbGeometry.

Difference(DbGeography, DbGeography)

Calcule la différence de deux valeurs 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

Paramètres

geographyValue
DbGeography

Première valeur géographique.

otherGeography
DbGeography

Deuxième valeur géographique.

Retours

Nouvelle valeur DbGeography représentant la différence entre geographyValue et otherGeography.

Exceptions

geographyValue otherGeography

geographyValue otherGeography

S’applique à

Difference(DbGeometry, DbGeometry)

Calcule la différence entre deux valeurs 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

Paramètres

geometryValue
DbGeometry

Première valeur géométrique.

otherGeometry
DbGeometry

Deuxième valeur géométrique.

Retours

Nouvelle valeur DbGeometry représentant la différence entre geometryValue et otherGeometry.

Exceptions

geometryValue otherGeometry

geometryValue otherGeometry

S’applique à