Share via


Delete Method (ICalendarParts)

Topic Last Modified: 2006-06-13

Removes the specified CalendarPart object from the collection.

Applies To

ICalendarParts Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Sub Delete(    Index As LONG)
HRESULT Delete
(
        LONG Index
);

Parameters

  • Index
    The ordinal index of the CalendarPart object within the collection to remove.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The collection index always ranges from 1 to the value returned by the Count property.