我使用Microsoft.Office.Interop.Outlook软件包发送了Outlook会议。现在我想使用此NuGet软件包删除或更新那些会议。谁能帮助我如何从Outlook更新或删除会议
try
{
if (agendaMeeting != null)
{
agendaMeeting.MeetingStatus =
Microsoft.Office.Interop.Outlook.OlMeetingStatus.olMeeting;
agendaMeeting.Location = "Conference Room";
agendaMeeting.Subject = "Discussing the Agenda";
agendaMeeting.Body = "Let's discuss the agenda.";
agendaMeeting.Start = new DateTime(2018, 12, 31, 15, 10, 0);
agendaMeeting.Duration = 60;
Microsoft.Office.Interop.Outlook.Recipient recipient =
agendaMeeting.Recipients.Add("ragithas@abcd.com");
recipient.Type =
(int)Microsoft.Office.Interop.Outlook.OlMeetingRecipientType.olRequired;
((Microsoft.Office.Interop.Outlook._AppointmentItem)agendaMeeting).Send();
}
}
catch(System.Exception ex)
{
}