SpatialEdmFunctions.SpatialSymmetricDifference Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Skapar en DbFunctionExpression som anropar den kanoniska funktionen SpatialSymmetricDifference med de angivna argumenten, som var och en måste ha resultattypen Edm.Geography eller Edm.Geometry. Resultattypen spatialValue1 måste matcha resultattypen spatialValue2för . Resultattypen för uttrycket är samma som typen av spatialValue1 och spatialValue2.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ SpatialSymmetricDifference(System::Data::Common::CommandTrees::DbExpression ^ spatialValue1, System::Data::Common::CommandTrees::DbExpression ^ spatialValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialSymmetricDifference(this System.Data.Common.CommandTrees.DbExpression spatialValue1, System.Data.Common.CommandTrees.DbExpression spatialValue2);
static member SpatialSymmetricDifference : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialSymmetricDifference (spatialValue1 As DbExpression, spatialValue2 As DbExpression) As DbFunctionExpression
Parametrar
- spatialValue1
- DbExpression
Ett uttryck som anger det första rumsliga värdet.
- spatialValue2
- DbExpression
Ett uttryck som anger det rumsliga värde som den symmetriska skillnaden med spatialValue1 ska beräknas för.
Returer
En ny DbFunctionExpression som returnerar geometrivärdet som representerar den symmetriska skillnaden spatialValue2 med med spatialValue1.
Undantag
spatialValue1
spatialValue2
spatialValue1
spatialValue2