Gets or sets the city of the Location.
Namespace: MindFusion.Scheduling
Assembly: Location.js
SyntaxJavaScript
Copy Code
|
|---|
get city() {} |
A String that represents the city.
ExampleThe 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; location.address = "1, King’s road"; location.city = "Cambridge"; location.country = "USA"; location.state = "MA"; location.zipCode = 12345; calendar.schedule.locations.add(location); |
See Also