Search
Location Constructor
See Also
 






Initializes a new instance of the Location class.

Namespace: MindFusion.Scheduling
File: Location.js

 Syntax

JavaScript  Copy Code

function Location ()

 Example

The following code creates a new Location and adds it to the list with locations of a calendar schedule.

JavaScript  Copy Code

var p = MindFusion.Scheduling;

location = new p.Location();
location.name = name;
calendar.schedule.locations.add(location);

 See Also