Condividi tramite


Metodo DbGeometry.Contains

[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 questo valore DbGeometry contiene spazialmente l'argomento DbGeometry specificato.

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

Sintassi

'Dichiarazione
Public Function Contains ( _
    other As DbGeometry _
) As Boolean
'Utilizzo
Dim instance As DbGeometry 
Dim other As DbGeometry 
Dim returnValue As Boolean 

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

Parametri

Valore restituito

Tipo: System.Boolean
true se questo valore geometrico contiene Other. In caso contrari, false.

Eccezioni

Eccezione Condizione
ArgumentNullException

other è null.

Vedere anche

Riferimento

DbGeometry Classe

Spazio dei nomi System.Data.Entity.Spatial