This documentation is archived and is not being maintained.

How to: Create a Meeting Request

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Application-level projects

Microsoft Office version

  • Outlook 2003

  • Outlook 2007

For more information, see Features Available by Application and Project Type.

This example creates a meeting request in Microsoft Office Outlook and sends the request to a required attendee.

private void ThisAddIn_Startup(object sender, System.EventArgs e)
    Outlook.AppointmentItem agendaMeeting = (Outlook.AppointmentItem)

    if (agendaMeeting != null)
        agendaMeeting.MeetingStatus =
        agendaMeeting.Location = "Conference Room";
        agendaMeeting.Subject = "Discussing the Agenda";
        agendaMeeting.Body = "Let's discuss the agenda.";
        agendaMeeting.Start = new DateTime(2005, 5, 5, 5, 0, 0);
        agendaMeeting.Duration = 60;
        Outlook.Recipient recipient =
            agendaMeeting.Recipients.Add("Nate Sun");
        recipient.Type =