次の方法で共有


DbSpatialServices.Intersection メソッド (DbGeography, DbGeography)

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

2 つの DbGeography 値の交差を計算します。

名前空間:  System.Data.Entity.Spatial
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public MustOverride Function Intersection ( _
    geographyValue As DbGeography, _
    otherGeography As DbGeography _
) As DbGeography
'使用
Dim instance As DbSpatialServices 
Dim geographyValue As DbGeography 
Dim otherGeography As DbGeography 
Dim returnValue As DbGeography 

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

パラメーター

戻り値

型 : System.Data.Entity.Spatial.DbGeography
geographyValue と otherGeography の交差を表す新しい DbGeography 値。

例外

例外 状態
ArgumentNullException

geographyValue または otherGeography が null です。

ArgumentException

geographyValue または otherGeography は、この空間サービスの実装と互換性がありません。

参照

参照

DbSpatialServices クラス

Intersection オーバーロード

System.Data.Entity.Spatial 名前空間