A version of this page is also available for
The Save method saves an Appointment item to the item store database.
HRESULT Save ();
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
The user changed the date, and it should have thrown an exception—but it did not.
The user changed the date, and it overlaps with another date, and it should have thrown an exception — but it did not.
The Appointment is not valid because it overlaps another Appointment (and generated an Overlapping Exception).
The Appointment is not valid because its recurrence duration (minimum period) is greater than the length of the recurrence pattern.
The Appointment is not valid because its recurrence duration (minimum period) is not greater than or equal to the length of time before the Appointment reminder.
The method completed successfully.
If the recurrence information was changed, then the IRecurrencePattern object is automatically updated with new values for StartTime, EndTime, and Duration.
Saved time values are in the current Time Zone.
If the list of recipients changes, then the IRecipients object is automatically updated with the new information, and the attendees will be sent an update.
|Windows Embedded CE||Windows CE 2.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|