I have a Workflow Foundation 4 activity that has an InvokeMethod that is configured to invoke a method Addon a type instance IList(Of String), providing a type parameter String.
Running it gives me this error:
'IList`1' does not have a public instance method named 'Add' matching the parameter
types, generic type arguments, and generic type constraints supplied to InvokeMethod
'InvokeMethod'.
I tried all the settings for InvokeMethod activity, which I could think of, but to no avail.
So the question is: how to get InvokeMethod to add a string parameter to the general list?
source
share