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 _
)
public void WriteComponent (
CalendarReader reader
)
public:
void WriteComponent (
CalendarReader^ reader
)
public void WriteComponent (
CalendarReader reader
)
public function WriteComponent (
reader : CalendarReader
)
Parameters
- reader
A CalendarReader object that is positioned at the start of the component to be written by this CalendarWriter object.
Exceptions
Exception type | Condition |
---|---|
ArgumentException | The reader parameter that was passed is positioned on an iCalendar component that is not allowed within the current component. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)