Metodo DbSpatialServices.SymmetricDifference (DbGeography, DbGeography)
[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 la differenza simmetrica tra due valori DbGeography.
Spazio dei nomi: System.Data.Entity.Spatial
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public MustOverride Function SymmetricDifference ( _
geographyValue As DbGeography, _
otherGeography As DbGeography _
) As DbGeography
'Utilizzo
Dim instance As DbSpatialServices
Dim geographyValue As DbGeography
Dim otherGeography As DbGeography
Dim returnValue As DbGeography
returnValue = instance.SymmetricDifference(geographyValue, _
otherGeography)
public abstract DbGeography SymmetricDifference(
DbGeography geographyValue,
DbGeography otherGeography
)
public:
virtual DbGeography^ SymmetricDifference(
DbGeography^ geographyValue,
DbGeography^ otherGeography
) abstract
abstract SymmetricDifference :
geographyValue:DbGeography *
otherGeography:DbGeography -> DbGeography
public abstract function SymmetricDifference(
geographyValue : DbGeography,
otherGeography : DbGeography
) : DbGeography
Parametri
- geographyValue
Tipo: System.Data.Entity.Spatial.DbGeography
Primo valore geografico.
- otherGeography
Tipo: System.Data.Entity.Spatial.DbGeography
Secondo valore geografico.
Valore restituito
Tipo: System.Data.Entity.Spatial.DbGeography
Nuovo valore DbGeography che rappresenta la differenza simmetrica tra geographyValue e otherGeography.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentNullException | geographyValue o otherGeography è null. |
ArgumentException | geographyValue o otherGeography non è compatibile con l'implementazione spaziale dei servizi. |