I'm creating AppointmentItem
objects for outlook with the following code:
AppointmentItem apt = (APPointmentItem)OLApp.CreateItem(OlItemType.olAppointmentItem);
// set parameters for 'apt', like body, subject etc.
// ...
apt.Save();
I have the name of a calendar I want to put this event in, but I can't figure out how to specify which folder the newly created event should go in to. New events always seem to appear in the main calendar folder.