remove a specific feature from a query result featureset
Hi,
Is there any way to achieve this?
I saw the 'remove from collection' activity, but could not seem to get conversion from a featureset into a collection etc. right... I suspect I am missing a simple approach to this...
Thanks
0
-
Set Collection to yourFeatureSet.Features, and TypeArgument to ESRI.ArcGIS.Client.Graphic 0 -
Thank you very much for your reply Berend, that is a good answer. I was also able to achieve this similarly by using LINQ expressions on the featureset features collection to get the graphics array needed then feeding that into an featureset constructor. NB that this approach ended up with a featureset lacking a fields collection, so one had to be created if it was required. So overall your approach was cleaner. Cheers 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer