Properties of a variable

Hello everybody,
I need to use the property subject from a variable Mail created in the For Each Activity,
but when I do Mail dot only appear the methods to select and no properties.
How can I do to use the properties of this variable ?
Anybody can help me with this topic ?
I hope some answer.

When using a For Each you need to change the TypeArgument parameter to the type that you are iterating through. Then the methods will display correctly.

Hi @silvina

Can you elaborate more the issue kindly put some screenshots or xaml file to address the issue

cheers :smiley:

Happy learning :smiley:

1 Like

Hello @silvina
You need to change the Type Arugument From Object to System.Net.Mail.MailMessage and you can do this in the properties pane of For Each Activity.
After doing this you can access all methods by typing item.Subject

1 Like