次の方法で共有


DbGeography.Intersects メソッド

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

この DbGeography 値が指定した DbGeography 引数と空間的に交差するかどうかを判断します。

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

構文

'宣言
Public Function Intersects ( _
    other As DbGeography _
) As Boolean
'使用
Dim instance As DbGeography 
Dim other As DbGeography 
Dim returnValue As Boolean 

returnValue = instance.Intersects(other)
public bool Intersects(
    DbGeography other
)
public:
bool Intersects(
    DbGeography^ other
)
member Intersects : 
        other:DbGeography -> bool
public function Intersects(
    other : DbGeography
) : boolean

パラメーター

戻り値

型 : System.Boolean
other がこの geography 値と交差する場合は true。それ以外の場合は false。

参照

参照

DbGeography クラス

System.Data.Entity.Spatial 名前空間