Freigeben über


DbGeography.Intersects-Methode

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Bestimmt, ob dieser DbGeography-Wert räumlich das angegebene DbGeography-Argument überschneidet.

Namespace:  System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
Public Function Intersects ( _
    other As DbGeography _
) As Boolean
'Usage
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

Parameter

Rückgabewert

Typ: System.Boolean
True, wenn other diesen Geografiewert schneidet; andernfalls false.

Siehe auch

Verweis

DbGeography Klasse

System.Data.Entity.Spatial-Namespace