Do you have the Outlook reference set?

Screenshot 2024-06-06 145621.jpg