Bagikan melalui


DbSpatialServices.SpatialEquals Metode

Definisi

Menentukan apakah kedua nilai yang diberikan sama secara spasial.

Overload

SpatialEquals(DbGeography, DbGeography)

Menentukan apakah kedua nilai yang diberikan DbGeography sama secara spasial.

SpatialEquals(DbGeometry, DbGeometry)

Menentukan apakah kedua nilai yang diberikan DbGeometry sama secara spasial.

SpatialEquals(DbGeography, DbGeography)

Menentukan apakah kedua nilai yang diberikan DbGeography sama secara spasial.

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

Parameter

geographyValue
DbGeography

Nilai geografi pertama yang dibandingkan dengan kesetaraan.

otherGeography
DbGeography

Nilai geografi kedua untuk dibandingkan dengan kesetaraan.

Mengembalikan

true jika geographyValue secara spasial sama dengan otherGeography; jika tidak false.

Pengecualian

geographyValue otherGeography

geographyValue otherGeography

Berlaku untuk

SpatialEquals(DbGeometry, DbGeometry)

Menentukan apakah kedua nilai yang diberikan DbGeometry sama secara spasial.

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

Parameter

geometryValue
DbGeometry

Nilai geometri pertama yang dibandingkan dengan kesetaraan.

otherGeometry
DbGeometry

Nilai geometri kedua untuk dibandingkan dengan kesetaraan.

Mengembalikan

true jika geometryValue secara spasial sama dengan otherGeometry; jika tidak false.

Pengecualian

geometryValue otherGeometry

geometryValue otherGeometry

Berlaku untuk