Поделиться через


SqlSpatialServices.SymmetricDifference - метод (DbGeography, DbGeography)

[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]

Вычисляет симметрическую разность двух значений DbGeography.

Пространство имен:  System.Data.Entity.SqlServer
Сборка:  EntityFramework.SqlServer (в EntityFramework.SqlServer.dll)

Синтаксис

'Декларация
Public Overrides Function SymmetricDifference ( _
    geographyValue As DbGeography, _
    otherGeography As DbGeography _
) As DbGeography
'Применение
Dim instance As SqlSpatialServices 
Dim geographyValue As DbGeography 
Dim otherGeography As DbGeography 
Dim returnValue As DbGeography 

returnValue = instance.SymmetricDifference(geographyValue, _
    otherGeography)
public override DbGeography SymmetricDifference(
    DbGeography geographyValue,
    DbGeography otherGeography
)
public:
virtual DbGeography^ SymmetricDifference(
    DbGeography^ geographyValue, 
    DbGeography^ otherGeography
) override
abstract SymmetricDifference : 
        geographyValue:DbGeography * 
        otherGeography:DbGeography -> DbGeography  
override SymmetricDifference : 
        geographyValue:DbGeography * 
        otherGeography:DbGeography -> DbGeography
public override function SymmetricDifference(
    geographyValue : DbGeography, 
    otherGeography : DbGeography
) : DbGeography

Параметры

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

Тип: System.Data.Entity.Spatial.DbGeography
Новое значение DbGeography, представляющее симметричную разность geographyValue и otherGeography.

См. также

Справочник

SqlSpatialServices Класс

SymmetricDifference - перегрузка

System.Data.Entity.SqlServer - пространство имен