G
Guest
Hi, I'm programmatically creating and updating appointments using Visual C#. When I update appointments, is there a better way to find appointments in a calendar without searching for user-changeable fields like the subject field? Right now, I am searching this way:
Outlook.AppointmentItem theMeeting = ((Outlook.AppointmentItem) oItems.Find("[Subject] = 'the subject'"));
where oItems is the items within a calendar folder. Can a field be created programmatically and set to some unique value (like an ID field)? That way, the next time I want to access the appointment, I can run the following command without having to worry about users changing the id:
Outlook.AppointmentItem theMeeting = ((Outlook.AppointmentItem) oItems.Find("[ID] = 'the id'"));
Any help would be appreciated. Thanks!
Outlook.AppointmentItem theMeeting = ((Outlook.AppointmentItem) oItems.Find("[Subject] = 'the subject'"));
where oItems is the items within a calendar folder. Can a field be created programmatically and set to some unique value (like an ID field)? That way, the next time I want to access the appointment, I can run the following command without having to worry about users changing the id:
Outlook.AppointmentItem theMeeting = ((Outlook.AppointmentItem) oItems.Find("[ID] = 'the id'"));
Any help would be appreciated. Thanks!