Udostępnij za pośrednictwem


CalendarWriter.WriteComponent Method

The WriteComponent method writes a component from a CalendarReader object.

Namespace:  Microsoft.Exchange.Data.ContentTypes.iCalendar
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Sub WriteComponent ( _
    reader As CalendarReader _
)
'Usage
Dim instance As CalendarWriter
Dim reader As CalendarReader

instance.WriteComponent(reader)
public void WriteComponent(
    CalendarReader reader
)

Parameters

Exceptions

Exception Condition
ArgumentException

The reader parameter that was passed is positioned on an iCalendar component that is not allowed within the current component.