Freigeben über


DbGeometry.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 dieses DbGeometry-Wert räumlich das angegebene DbGeometry-Arguments überschneidet.

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

Syntax

'Declaration
Public Function Intersects ( _
    other As DbGeometry _
) As Boolean
'Usage
Dim instance As DbGeometry 
Dim other As DbGeometry 
Dim returnValue As Boolean 

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

Parameter

Rückgabewert

Typ: System.Boolean
true , wenn other diesen Geometriewert schneidet; andernfalls false.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

other hat den Wert null.

Siehe auch

Verweis

DbGeometry Klasse

System.Data.Entity.Spatial-Namespace