Share via


DbSpatialServices.SpatialEquals Método

Definición

Determina si los dos valores especificados son iguales espacialmente.

Sobrecargas

SpatialEquals(DbGeography, DbGeography)

Determina si los dos valores especificados de DbGeography son iguales espacialmente.

SpatialEquals(DbGeometry, DbGeometry)

Determina si los dos valores especificados de DbGeometry son iguales espacialmente.

SpatialEquals(DbGeography, DbGeography)

Determina si los dos valores especificados de DbGeography son iguales espacialmente.

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

Parámetros

geographyValue
DbGeography

Primer valor de geografía que se va a comparar para ver su equivalencia.

otherGeography
DbGeography

Segundo valor de geografía que se va a comparar para ver su equivalencia.

Devoluciones

true, si geographyValue es espacialmente igual que otherGeography; en caso contrario, false.

Excepciones

geographyValue otherGeography

geographyValue otherGeography

Se aplica a

SpatialEquals(DbGeometry, DbGeometry)

Determina si los dos valores especificados de DbGeometry son iguales espacialmente.

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

Parámetros

geometryValue
DbGeometry

Primer valor de geometría que se va a comparar para ver su equivalencia.

otherGeometry
DbGeometry

Segundo valor de geometría que se va a comparar para ver su equivalencia.

Devoluciones

true, si geometryValue es espacialmente igual que otherGeometry; en caso contrario, false.

Excepciones

geometryValue otherGeometry

geometryValue otherGeometry

Se aplica a