Condividi tramite


Metodo SqlSpatialServices.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.]

Consente di stabilire se un valore DbGeometry contiene l'altro.

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

Sintassi

'Dichiarazione
Public Overrides Function Contains ( _
    geometryValue As DbGeometry, _
    otherGeometry As DbGeometry _
) As Boolean
'Utilizzo
Dim instance As SqlSpatialServices 
Dim geometryValue As DbGeometry 
Dim otherGeometry As DbGeometry 
Dim returnValue As Boolean 

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

Parametri

Valore restituito

Tipo: System.Boolean
true se geometryValue contiene otherGeometry. In caso contrario, false.

Vedere anche

Riferimento

SqlSpatialServices Classe

Spazio dei nomi System.Data.Entity.SqlServer