Parameter has already been declared for this method

I invoked the ‘invoke code’ activity, and it threw an error saying ‘parameter has already been declared for this method.’ How can I modify it?


02
04

Hey @shenyu ,

if you have passed the argument then you don’t need to use:

Dim fileNames As New List(Of String)

can be done directly within an assign activity:

myFileNameList =

New DirectoryInfo("FolderPathOrVariable").GetFiles().Select(Function (x) x.Name).toList()
2 Likes

Thank you very much, my problem has been resolved

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.