Search
Schedule Methods
 


 Public Methods

  Name Description

CancelCompositeOperation

Stops recording undo/redo commands into a CompositeCommand and discards the records created so far.

Clear

Clears all items, tasks, locations, contacts and resources contained in this schedule.

CommitCompositeOperation

Stops recording undo/redo commands into a CompositeCommand and saves the composite in the history queue.

Dispose

Disposes any resources used by this Schedule object.

ExecuteCommand

Executes the specified command on this schedule.

GetAllItems

Overloaded. Retrieves a collection of all events, including recurrent item instances, scheduled to occur in the specified time interval.

GetFreePeriod

Overloaded. Returns the next period with the specified duration after the specified date, which is not occupied by items.

GetItemsToRemindOf

Overloaded. Retrieves a collection of all items that must be reminded of.

GetLargestFreePeriod

Returns the largest free period in the specified range.

GetTasksToRemindOf

Overloaded. Retrieves a collection of all tasks that must be reminded of.

IsClassRegistered

Overloaded. Checks whether a specified class identifier or type is registered for serialization.

IsClientClassRegistered

Checks whether an item or resource type with the specified id is registered for JSON serialization.

LoadFrom

Loads schedule data from a file.

LoadFromJson

Loads the schedule from a JSON-formatted string.

LoadFromJsonObject

Loads the schedule from a JSON object previously created by SaveToJson.

LoadFromStream

Loads schedule data from a binary stream.

LoadFromString

Decodes schedule data from a string previously created by SaveToString.

LoadFromXml

Loads schedule data from an XML document.

Redo

Executes again an action saved in the command history.

RegisterItemClass

Overloaded.  

RegisterResourceClass

Overloaded.  

SaveTo

Saves the schedule to a file.

SaveToJson

Saves the schedule to a JSON-formatted string. Call LoadFromJson to restore the schedule data later.

SaveToJsonObject

Saves the schedule to a JsonObject.

SaveToStream

Saves the schedule to a binary stream.

SaveToString

Encodes the schedule into a string.

SaveToXml

Saves the schedule to an XML document.

StartCompositeOperation

Starts recording undo/redo commands into a CompositeCommand.

Undo

Undoes an action saved in the command history.

UnregisterClass

Overloaded. Unregisters the item or resource with the specified class identifier or type from the system.

 Protected Methods

 See Also