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
- other
Tipo: System.Data.Entity.Spatial.DbGeometry
Valore geometrico che deve essere confrontato con questo valore geometrico ai fini del contenimento.
Valore restituito
Tipo: System.Boolean
true se questo valore geometrico contiene Other. In caso contrari, false.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentNullException | other è null. |