How can I delete an item(by index) from a List? I know the function of the list.removeAt(index), but what activity can i use to apply this function? Can it be erased while iterating?
I would appreciate an answer as illustrative as possible.
Thank you very much, greetings!
Yes you can use invoke method activity to call this method! And yest it can be erased while iterating!
You can use Invoke Method Activity.
Invoke Method
Parameters to pass: TargetObject : List Variable MethodName : RemoveAt you have to pass index in the parameters from the Properties window.
Refer to this screenshot @Yur
For a better understanding have a look here List_of_Strings.xaml (8.3 KB)
Let me know if it help
Regards
Thank you for your comment!!
@Rishabh_Lakhera
Thank you for your comment!! Finally I was able to get what I wanted,
Very friendly
That’s what we’re here for