Freigeben über


DbGeometry.Touches-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 DbGeometry-Wert das angegebene DbGeometry-Argument räumlich berührt.

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

Syntax

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

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

Parameter

Rückgabewert

Typ: System.Boolean
true , wenn other diesen Geometriewert berührt; andernfalls false.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

other hat den Wert null.

Siehe auch

Verweis

DbGeometry Klasse

System.Data.Entity.Spatial-Namespace