DbSpatialServices.Difference Метод

Определение

Вычисляет разницу между двумя значениями.

Перегрузки

Difference(DbGeography, DbGeography)

Вычисляет разницу между двумя значениями DbGeography.

Difference(DbGeometry, DbGeometry)

Вычисляет разницу между двумя значениями DbGeometry.

Difference(DbGeography, DbGeography)

Вычисляет разницу между двумя значениями DbGeography.

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

Параметры

geographyValue
DbGeography

Первое географическое значение.

otherGeography
DbGeography

Второе географическое значение.

Возвращаемое значение

Новое значение DbGeography, представляющее различие между geographyValue и otherGeography.

Исключения

geographyValue otherGeography

geographyValue otherGeography

Применяется к

Difference(DbGeometry, DbGeometry)

Вычисляет разницу между двумя значениями DbGeometry.

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

Параметры

geometryValue
DbGeometry

Первое геометрическое значение.

otherGeometry
DbGeometry

Второе геометрическое значение.

Возвращаемое значение

Новое значение DbGeometry, представляющее различие между geometryValue и otherGeometry.

Исключения

geometryValue otherGeometry

geometryValue otherGeometry

Применяется к