Share via


Add Method

Add Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Adds a new RecurrencePattern object to the collection.

Applies To

IRecurrencePatterns Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

[Visual Basic]Sub Add
(
    Type As String
) As IRecurrencePattern

[C++]HRESULT Add (     BSTR Type,     IRecurrencePattern** pVal );

Parameters

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

To add the appointment instances defined by this RecurrencePattern object to a recurring appointment, specify the Type parameter as ADD. To delete the appointment instances defined by this RecurrencePattern object from a recurring appointment, specify the Type parameter as DELETE.

The Type value ADD corresponds to the iCalendar RRULE. The Type value DELETE corresponds to the iCalendar EXRULE.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.