MindFusion.Wpf Pack Programmer's Guide
Schedule.LoadFrom Method (String, ContentType)
See Also
 





Loads schedule data from a file.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

public void LoadFrom (
    string fileName,
    ContentType contentType
)

Visual Basic  Copy Code

Public Sub LoadFrom( _
    fileName As String, _
    contentType As ContentType _
)

 Parameters

fileName

The name of the file from which to load the schedule.

contentType

Specifies whether the data is in XML or JSON format.

 Remarks

This method loads the schedule data from a file where it was previously saved by a call to SaveTo. Any data contained in the schedule is discarded before the items stored in the file are loaded.

 See Also

LoadFrom Method Overload List
Schedule Members
Schedule Class
MindFusion.Scheduling Namespace