SqlSpatialServices.Intersection - метод (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 Intersection ( _
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.Intersection(geographyValue, _
otherGeography)
public override DbGeography Intersection(
DbGeography geographyValue,
DbGeography otherGeography
)
public:
virtual DbGeography^ Intersection(
DbGeography^ geographyValue,
DbGeography^ otherGeography
) override
abstract Intersection :
geographyValue:DbGeography *
otherGeography:DbGeography -> DbGeography
override Intersection :
geographyValue:DbGeography *
otherGeography:DbGeography -> DbGeography
public override function Intersection(
geographyValue : DbGeography,
otherGeography : DbGeography
) : DbGeography
Параметры
- geographyValue
Тип: System.Data.Entity.Spatial.DbGeography
Первое значение geography.
- otherGeography
Тип: System.Data.Entity.Spatial.DbGeography
Второе значение geography.
Возвращаемое значение
Тип: System.Data.Entity.Spatial.DbGeography
Новое значение DbGeography, представляющее пересечение geographyValue и otherGeography.