DbSpatialServices.SpatialEquals Método

Definição

Determina se os dois valores dados são espacialmente iguais.

Sobrecargas

Name Description
SpatialEquals(DbGeography, DbGeography)

Determina se os dois valores dados DbGeography são espacialmente iguais.

SpatialEquals(DbGeometry, DbGeometry)

Determina se os dois valores dados DbGeometry são espacialmente iguais.

SpatialEquals(DbGeography, DbGeography)

Determina se os dois valores dados DbGeography são espacialmente iguais.

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

O primeiro valor geográfico a comparar para igualdade.

otherGeography
DbGeography

O segundo valor geográfico para comparar para igualdade.

Devoluções

true se geographyValue for espacialmente igual a otherGeography; caso contrário false.

Exceções

geographyValue otherGeography

geographyValue otherGeography

Aplica-se a

SpatialEquals(DbGeometry, DbGeometry)

Determina se os dois valores dados DbGeometry são espacialmente iguais.

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

O primeiro valor geométrico a comparar para igualdade.

otherGeometry
DbGeometry

O segundo valor geométrico para comparar para igualdade.

Devoluções

true se geometryValue for espacialmente igual a otherGeometry; caso contrário false.

Exceções

geometryValue otherGeometry

geometryValue otherGeometry

Aplica-se a