To convert uipath.microsoftoffice365.models.office365message[] to list<mailmessage>

Hi,
Can anyone please help me to convert uipath.microsoftoffice365.models.office365message[] variable to list variable?

Thanks in advance

Hello,

Can you just try this : uipath.microsoftoffice365.models.office365message[­].tolist

have a look here:

maybe it can also be shortened to:
var_ListOfficeMailMessages.Cast(Of System.Net.Mail.MailMessage).toList

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