次の方法で共有


_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
<DispIdAttribute()> _
Function GetAssociatedAppointment ( _
    AddToCalendar As Boolean _
) As AppointmentItem
'Usage
Dim instance As _MeetingItem
Dim AddToCalendar As Boolean
Dim returnValue As AppointmentItem

returnValue = instance.GetAssociatedAppointment(AddToCalendar)
[DispIdAttribute()]
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.

See Also

Reference

_MeetingItem Interface

_MeetingItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Find the Appointment Item Associated with a Meeting Request

How to: Automatically Accept a Meeting Request

How to: Prompt a User to Respond to a Meeting Request