How to use the Invoke method to add value in list



I was trying to add a value through the Invoke method , to add in a list. but was not able to complete as getting
“‘List`1’ does not have a public instance method named ‘add’ matching the parameter types, generic type arguments, and generic type constraints supplied to InvokeMethod ‘Invoke method’”

this issue.
sharing the screeshot herewith.
It will be a great help if you can provide me the right direction.


Hey @sain87

Try This :slight_smile: invoke_list_add_sample.xaml (6.9 KB)



Hi Aksh,
Thanks for your reply.
What i found that , the method name i was using was “add” and it was throwing the above error, but by updating the name to “Add” it worked.not showing the above mentioned error.


Good to Know :slight_smile:


Even with method name “Add” doesn’t change… the error message is same to me


As karthik said even for me same issue exists, Im unable to add more than one element in the list.


Hi @nikhil_rao,

Here is an example. check it out.