Metodo SqlSpatialServices.Intersection (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.]
Calcola l'intersezione di due valori DbGeometry.
Spazio dei nomi: System.Data.Entity.SqlServer
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Sintassi
'Dichiarazione
Public Overrides Function Intersection ( _
geometryValue As DbGeometry, _
otherGeometry As DbGeometry _
) As DbGeometry
'Utilizzo
Dim instance As SqlSpatialServices
Dim geometryValue As DbGeometry
Dim otherGeometry As DbGeometry
Dim returnValue As DbGeometry
returnValue = instance.Intersection(geometryValue, _
otherGeometry)
public override DbGeometry Intersection(
DbGeometry geometryValue,
DbGeometry otherGeometry
)
public:
virtual DbGeometry^ Intersection(
DbGeometry^ geometryValue,
DbGeometry^ otherGeometry
) override
abstract Intersection :
geometryValue:DbGeometry *
otherGeometry:DbGeometry -> DbGeometry
override Intersection :
geometryValue:DbGeometry *
otherGeometry:DbGeometry -> DbGeometry
public override function Intersection(
geometryValue : DbGeometry,
otherGeometry : DbGeometry
) : DbGeometry
Parametri
- geometryValue
Tipo: System.Data.Entity.Spatial.DbGeometry
Primo valore geometrico.
- otherGeometry
Tipo: System.Data.Entity.Spatial.DbGeometry
Secondo valore geografico.
Valore restituito
Tipo: System.Data.Entity.Spatial.DbGeometry
Nuovo valore DbGeometry che rappresenta l'intersezione di geographyValue e otherGeography.