Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.8 Assembly / C1.C1Schedule 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
    This method doesn't add appointments to the scheduler control.
    See Also