[]
        
(Showing Draft Content)

C1.Schedule.C1ScheduleStorage.Import

Import Method

Import(string, FileFormatEnum)

Imports data into the scheduler from a file of the specified format.

Declaration
public void Import(string path, FileFormatEnum format)
Parameters
Type Name Description
string path

A string value containing the full path (including the file name and extension) to a file which contains the data to be imported into the scheduler.

FileFormatEnum format

The FileFormatEnum value.

Import(Stream, FileFormatEnum)

Imports the scheduler's data from a stream whose data is in the specified format.

Declaration
public void Import(Stream stream, FileFormatEnum format)
Parameters
Type Name Description
Stream stream

A Stream object which specifies the stream that contains the data to import to the scheduler.

FileFormatEnum format

The FileFormatEnum value.