Bagikan melalui


DbSpatialServices.Difference Metode

Definisi

Menghitung perbedaan dua nilai.

Overload

Difference(DbGeography, DbGeography)

Menghitung perbedaan dua DbGeography nilai.

Difference(DbGeometry, DbGeometry)

Menghitung perbedaan antara dua DbGeometry nilai.

Difference(DbGeography, DbGeography)

Menghitung perbedaan dua DbGeography nilai.

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

Parameter

geographyValue
DbGeography

Nilai geografi pertama.

otherGeography
DbGeography

Nilai geografi kedua.

Mengembalikan

Nilai DbGeography baru yang mewakili perbedaan geographyValue dan otherGeography.

Pengecualian

geographyValue otherGeography

geographyValue otherGeography

Berlaku untuk

Difference(DbGeometry, DbGeometry)

Menghitung perbedaan antara dua DbGeometry nilai.

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

Parameter

geometryValue
DbGeometry

Nilai geometri pertama.

otherGeometry
DbGeometry

Nilai geometri kedua.

Mengembalikan

Nilai DbGeometry baru yang mewakili perbedaan antara geometryValue dan otherGeometry.

Pengecualian

geometryValue otherGeometry

geometryValue otherGeometry

Berlaku untuk