_MeetingItem.GetAssociatedAppointment Method
Returns an AppointmentItem object that represents the appointment associated with the meeting request.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Function GetAssociatedAppointment ( _
AddToCalendar As Boolean _
) As AppointmentItem
'Usage
Dim instance As _MeetingItem
Dim AddToCalendar As Boolean
Dim returnValue As AppointmentItem
returnValue = instance.GetAssociatedAppointment(AddToCalendar)
AppointmentItem GetAssociatedAppointment(
bool AddToCalendar
)
Parameters
- AddToCalendar
Type: System.Boolean
True to add the meeting to the default Calendar folder.
Return Value
Type: Microsoft.Office.Interop.Outlook.AppointmentItem
An AppointmentItem object that represents the associated appointment.