Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / C1ScheduleStorage Class / ReadAppointments Method
A System.IO.Stream object which specifies the stream that contains the data to import to the scheduler.
The C1.Schedule.FileFormatEnum value.

In This Topic
    ReadAppointments Method (C1ScheduleStorage)
    In This Topic
    Reads appointments data from a stream.
    Syntax
    'Declaration
     
    
    Public Function ReadAppointments( _
       ByVal stream As Stream, _
       ByVal format As FileFormatEnum _
    ) As IList(Of Appointment)
    public IList<Appointment> ReadAppointments( 
       Stream stream,
       FileFormatEnum format
    )

    Parameters

    stream
    A System.IO.Stream object which specifies the stream that contains the data to import to the scheduler.
    format
    The C1.Schedule.FileFormatEnum value.

    Return Value

    Returns collection of appointments.
    Remarks
    As opposed to the Import methods, this method doesn't add appointments to the C1ScheduleStorage. You can use it to analyze serialized data.
    See Also