Udostępnij za pośrednictwem


DbSpatialServices.Difference Metoda

Definicja

Oblicza różnicę dwóch wartości.

Przeciążenia

Difference(DbGeography, DbGeography)

Oblicza różnicę dwóch DbGeography wartości.

Difference(DbGeometry, DbGeometry)

Oblicza różnicę między dwiema DbGeometry wartościami.

Difference(DbGeography, DbGeography)

Oblicza różnicę dwóch DbGeography wartości.

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

Parametry

geographyValue
DbGeography

Pierwsza wartość geografii.

otherGeography
DbGeography

Druga wartość geografii.

Zwraca

Nowa wartość dbGeography reprezentująca różnicę wartości geographyValue i otherGeography.

Wyjątki

geographyValue otherGeography

geographyValue otherGeography

Dotyczy

Difference(DbGeometry, DbGeometry)

Oblicza różnicę między dwiema DbGeometry wartościami.

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

Parametry

geometryValue
DbGeometry

Pierwsza wartość geometryczna.

otherGeometry
DbGeometry

Druga wartość geometryczna.

Zwraca

Nowa wartość DbGeometry reprezentująca różnicę między geometryValue i otherGeometry.

Wyjątki

geometryValue otherGeometry

geometryValue otherGeometry

Dotyczy