CType(geometry,Polygon).Rings ambiguous error
I am getting an error when moving a Switch String out of a sequence and into a Flowchart. I have no idea why this is happening, but I am getting an error saying: "Compiler error(s) encountered processing expression "CType(geometry,Polyline).Paths". 'Polyline' is ambiguous, imported from the namespaces or types 'ESRI.ArcGIS.Client.Geometry, System.Windows.Shapes'.
There are no variables listed twice anywhere and I cannot remove a namespace to perhaps make this reference not ambiguous.
The workflow works perfectly fine when in just a sequence, but again, I want to put it into a flowchart in order to have button switches, etc. Totally stuck. Any ideas?
-
Hi Ryan,
You should be able avoid the error by using the fully qualified type name in the expression.
CType(geometry, ESRI.ArcGIS.Client.Geometry.Polyline).Paths
--Ryan
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar