Condividi tramite


Metodo DbSpatialServices.Disjoint (DbGeometry, DbGeometry)

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Determina se due valori DbGeometry specificati sono spazialmente non contigui.

Spazio dei nomi:  System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
Public MustOverride Function Disjoint ( _
    geometryValue As DbGeometry, _
    otherGeometry As DbGeometry _
) As Boolean
'Utilizzo
Dim instance As DbSpatialServices 
Dim geometryValue As DbGeometry 
Dim otherGeometry As DbGeometry 
Dim returnValue As Boolean 

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

Parametri

Valore restituito

Tipo: System.Boolean
true se geometryValue non è contiguo a otherGeometry. In caso contrario, false.

Eccezioni

Eccezione Condizione
ArgumentNullException

geometryValue o otherGeometry è null.

ArgumentException

geometryValue o otherGeometry non è compatibile con l'implementazione spaziale dei servizi.

Vedere anche

Riferimento

DbSpatialServices Classe

Overload Disjoint

Spazio dei nomi System.Data.Entity.Spatial