If(currentOffice365Message.Attachments.Any(Function(x) Path.GetExtension(x.Name).ToLowerInvariant() = “.pdf”), “.pdf”, “.xls”)
Try this
Cheers
If(currentOffice365Message.Attachments.Any(Function(x) Path.GetExtension(x.Name).ToLowerInvariant() = “.pdf”), “.pdf”, “.xls”)
Try this
Cheers