次の方法で共有


DbSpatialServices.Overlaps メソッド

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

2 つの指定した DbGeometry 値が空間的に重複するかどうかを判断します。

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

構文

'宣言
Public MustOverride Function Overlaps ( _
    geometryValue As DbGeometry, _
    otherGeometry As DbGeometry _
) As Boolean
'使用
Dim instance As DbSpatialServices 
Dim geometryValue As DbGeometry 
Dim otherGeometry As DbGeometry 
Dim returnValue As Boolean 

returnValue = instance.Overlaps(geometryValue, _
    otherGeometry)
public abstract bool Overlaps(
    DbGeometry geometryValue,
    DbGeometry otherGeometry
)
public:
virtual bool Overlaps(
    DbGeometry^ geometryValue, 
    DbGeometry^ otherGeometry
) abstract
abstract Overlaps : 
        geometryValue:DbGeometry * 
        otherGeometry:DbGeometry -> bool
public abstract function Overlaps(
    geometryValue : DbGeometry, 
    otherGeometry : DbGeometry
) : boolean

パラメーター

戻り値

型 : System.Boolean
geometryValue が otherGeometry と重複する場合は true。それ以外の場合は false。

例外

例外 状態
ArgumentNullException

geometryValue または otherGeometry が null です。

ArgumentException

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

参照

参照

DbSpatialServices クラス

System.Data.Entity.Spatial 名前空間