DbSpatialServices.SpatialEquals Metódus

Definíció

Meghatározza, hogy a két megadott érték térbelileg egyenlő-e.

Túlterhelések

Name Description
SpatialEquals(DbGeography, DbGeography)

Meghatározza, hogy a két megadott DbGeography érték térbelileg egyenlő-e.

SpatialEquals(DbGeometry, DbGeometry)

Meghatározza, hogy a két megadott DbGeometry érték térbelileg egyenlő-e.

SpatialEquals(DbGeography, DbGeography)

Meghatározza, hogy a két megadott DbGeography érték térbelileg egyenlő-e.

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éterek

geographyValue
DbGeography

Az egyenlőség első földrajzi értéke.

otherGeography
DbGeography

Az egyenlőség szempontjából összehasonlítandó második földrajzi érték.

Válaszok

true ha geographyValue térbelileg egyenlő ; otherGeographyegyébként false.

Kivételek

geographyValue otherGeography

geographyValue otherGeography

A következőre érvényes:

SpatialEquals(DbGeometry, DbGeometry)

Meghatározza, hogy a két megadott DbGeometry érték térbelileg egyenlő-e.

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éterek

geometryValue
DbGeometry

Az egyenlőség első mértani értéke.

otherGeometry
DbGeometry

A második mértani érték, amely összehasonlítható az egyenlőség szempontjából.

Válaszok

true ha geometryValue térbelileg egyenlő ; otherGeometryegyébként false.

Kivételek

geometryValue otherGeometry

geometryValue otherGeometry

A következőre érvényes: