Scheduler for WinForms | ComponentOne
C1.ScheduleCore Assembly / C1.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 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 System.IO.Stream, _
       ByVal format As FileFormatEnum _
    ) As System.Collections.Generic.IList(Of Appointment)
    public System.Collections.Generic.IList<Appointment> ReadAppointments( 
       System.IO.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 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