Partage via


DbSpatialServices.SpatialEquals Méthode

Définition

Détermine si les deux valeurs données sont égales de façon spatiale.

Surcharges

SpatialEquals(DbGeography, DbGeography)

Détermine si les deux valeurs DbGeography données sont égales de façon spatiale.

SpatialEquals(DbGeometry, DbGeometry)

Détermine si les deux valeurs DbGeometry données sont égales de façon spatiale.

SpatialEquals(DbGeography, DbGeography)

Détermine si les deux valeurs DbGeography données sont égales de façon spatiale.

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

Paramètres

geographyValue
DbGeography

Première valeur géographique dont l'égalité doit être comparée.

otherGeography
DbGeography

Deuxième valeur géographique dont l'égalité doit être comparée.

Retours

true si geographyValue est égal de façon spatiale à otherGeography ; sinon, false.

Exceptions

geographyValue otherGeography

geographyValue otherGeography

S’applique à

SpatialEquals(DbGeometry, DbGeometry)

Détermine si les deux valeurs DbGeometry données sont égales de façon spatiale.

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

Paramètres

geometryValue
DbGeometry

Première valeur géométrique dont l'égalité doit être comparée.

otherGeometry
DbGeometry

Deuxième valeur géométrique dont l'égalité doit être comparée.

Retours

true si geometryValue est égal de façon spatiale à otherGeometry ; sinon, false.

Exceptions

geometryValue otherGeometry

geometryValue otherGeometry

S’applique à