Share via


CalendarWriter members

The CalendarWriter class writes iCalendar data to an underlying stream and performs limited validation on the data written.

The CalendarWriter type exposes the following members.

Constructors

  Name Description
Public method CalendarWriter(Stream) The CalendarWriter constructor creates a new CalendarWriter object that writes to the stream that is passed in the stream parameter.
Public method CalendarWriter(Stream, String) The CalendarWriter constructor creates a new CalendarWriter object that writes to the stream that is passed in the stream parameter and uses the encoding that is specified by the encodingName parameter.

Top

Methods

  Name Description
Public method Close The Close method closes this CalendarWriter object but does not close the underlying stream.
Public method Dispose() The Dispose method releases all managed and unmanaged resources used by the CalendarWriter.
Protected method Dispose(Boolean) The Dispose method releases the unmanaged resources used by the CalendarWriter and optionally releases the managed resources.
Public method EndComponent The EndComponent method ends the current component.
Public method Flush The Flush method flushes all data up to the last closed property to the underlying stream.
Public method StartComponent(String) The StartComponent method starts a new component that is identified by the name parameter.
Public method StartComponent(ComponentId) The StartComponent method starts a new component that is identified by the componentId parameter.
Public method StartParameter(String) The StartParameter method starts a new iCalendar parameter that is identified by the name parameter.
Public method StartParameter(ParameterId) The StartParameter method starts a new iCalendar parameter that is identified by the parameterId parameter.
Public method StartProperty(String) The StartProperty method starts a new property that is identified by the name parameter.
Public method StartProperty(PropertyId) The StartProperty method starts a new iCalendar property that is identified by the propertyId parameter.
Public method WriteComponent The WriteComponent method writes a component from a CalendarReader object.
Public method WriteParameter(CalendarParameterReader) The WriteParameter method reads an iCalendar parameter from a CalendarParameterReader structure and writes it to the stream that this CalendarWriter object owns.
Public method WriteParameter(String, String) The WriteParameter method writes an iCalendar parameter with the name that is specified by the name parameter and the value that is specified by the value parameter.
Public method WriteParameter(ParameterId, String) The WriteParameter method writes an iCalendar parameter that is identified by the parameterId parameter that contains the value in the value parameter.
Public method WriteParameterValue The WriteParameterValue method writes a parameter value to the stream that this CalendarWriter object owns.
Public method WriteProperty(CalendarPropertyReader) The WriteProperty method reads a property from a CalendarPropertyReader structure and writes it to the stream that this CalendarWriter object owns.
Public method WriteProperty(String, String) The WriteProperty method writes an iCalendar property that has the name that is specified by the name parameter and the value that is specified by the value parameter.
Public method WriteProperty(PropertyId, String) The WriteProperty method writes an iCalendar property that is identified by the propertyId parameter and that has the value given by the value parameter.
Public method WritePropertyValue(Boolean) The WritePropertyValue method writes a Boolean value to the current property in the stream that this CalendarWriter object owns.
Public method WritePropertyValue(DateTime) The WritePropertyValue method writes a DateTime value to the current property in the stream that this CalendarWriter object owns.
Public method WritePropertyValue(Int32) The WritePropertyValue method writes an integer value to the current property in the stream that this CalendarWriter object owns.
Public method WritePropertyValue(Object) The WritePropertyValue method writes an Object as a value to the current property in the stream that this CalendarWriter object owns.
Public method WritePropertyValue(Single) The WritePropertyValue method writes a single precision floating point value to the current property in the stream that this WritePropertyValue object owns.
Public method WritePropertyValue(String) The WritePropertyValue method writes a string value to the current property in the stream that this WritePropertyValue object owns.
Public method WritePropertyValue(TimeSpan) The WritePropertyValue method writes a TimeSpan value to the current property in the stream that this CalendarWriter object owns.
Public method WritePropertyValue(CalendarPeriod) The WritePropertyValue method writes a CalendarPeriod value to the current property in the stream that this CalendarWriter object owns.
Public method WritePropertyValue(CalendarTime) The WritePropertyValue method writes a CalendarTime value to the current property in the stream that this CalendarWriter object owns.
Public method WritePropertyValue(Recurrence) The WritePropertyValue method writes a Recurrence value to the current property in the stream that this CalendarWriter object owns.
Public method WritePropertyValue(DateTime, CalendarValueType) Writes the associated value to the current property in the write stream with the variable type specified.

Top

See also

Reference

CalendarWriter class

Microsoft.Exchange.Data.ContentTypes.iCalendar namespace