Yur
(Yur)
July 18, 2018, 2:31pm
1
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!
1 Like
You can use Invoke Method
Activity.
Parameters to pass:
TargetObject : List Variable
MethodName : RemoveAt
you have to pass index in the parameters from the Properties window.
2 Likes
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
4 Likes
Yur
(Yur)
July 19, 2018, 7:01am
5
Thank you for your comment!!
Yur
(Yur)
July 19, 2018, 7:03am
6
@Rishabh_Lakhera
Thank you for your comment!!
Finally I was able to get what I wanted,
Very friendly
2 Likes
That’s what we’re here for
1 Like