Once a namespace is imported, how can it be removed if it was imported by mistake?
I'm getting an ambiguity error for featureset because I have both the Geocortex client tasks and the ESRI client tasks namespaces imported. How can I remove the Geocortex client tasks namespace? I looked through the XAML, but the Geocortex namespace is not readily apparent.
0
-
Hi Eugene
have you looked at being more specific in the Workflow when declaring a FeatureSet ie writing Esri.Client.FeatureSet or whatever the correct 'phrase' is to specific it?
I do that when coding in other circumstances when I have imported two namespaces where there are Objects that can be confused.
Regards
Ralph Price0 -
Hi Eugene,
I beleive there is no need to remove any references, instead you can use it like this:
new ESRI.ArcGIS.Client.Tasks.FeatureSet()
Regards,
Mohammad Ashraf0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare