Dela via


ICalendarPart Interface

Topic Last Modified: 2007-03-08

The ICalendarPart interface provides access to a body part of calendar content on a calendar message object.

CLSID

CD000133-8B95-11D1-82DB-00C04FB1625D

Extends

IDispatch

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Member Summary

The following table lists the properties of the ICalendarPart interface.

Name Description

CalendarMethod Property

Returns the type of calendar action, such as a meeting request. This property is read-only.

CalendarVersion Property

Returns the version of the iCalendar standard for an appointment. This property is read-only.

ComponentType Property

Returns the calendar part type, such as an appointment. This property is read-only.

ProdID Property

Returns a product identifier. This property is read-only.

Name Description

GetAssociatedItem

Returns an Appointment object that contains the appointment in the Exchange store that has the same globally unique identifier (GUID) as the appointment in the calendar part. If no appointment in the Exchange store has the same GUID as the calendar part, the method returns an error.

GetInterface

Returns the specified dual interface on the object.

GetUpdatedItem

Returns the Appointment object that contains the latest updated version of a meeting. This method is used to process updates to meetings and meeting responses. If the Exchange store contains a meeting with the same GUID as the meeting in the calendar part, this method returns the meeting that was updated most recently. If no meeting in the Exchange store has the same GUID as the meeting in the calendar part, this method returns the meeting from the calendar part. When you save the meeting returned by this method, it overwrites the meeting in the Exchange store.

If the calendar part contains an exception to an existing recurring meeting, the GetUpdatedItem method returns the exception in memory. If you accept or decline the exception, the meeting response is based on the exception. However, when you call the IDataSource.Save method on the exception, it merges the exception into the master recurring meeting and saves the updated master to the Exchange store.

See Also

Concepts

CDOEX Interfaces