다음을 통해 공유


Add Method (ICalendarParts)

Topic Last Modified: 2006-06-13

Adds a new CalendarPart object to the collection.

Applies To

ICalendarParts Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Sub Add(    CalendarPart As Object,
        CdoComponentType As CdoComponentType)
HRESULT Add
(
        IUnknown* CalendarPart,
        CdoComponentType CdoComponentType
);

Parameters

  • CalendarPart
    A reference to a CalendarPart object.
  • CdoComponentType
    The type of Collaboration Data Objects (CDO) component from the CdoComponentType Enum.

Return Value

Returns S_OK if successful, or an error value otherwise.