Events.Event.GetStructuredLocation
----------------------------------

Queries structured location.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Events](component_Events.md) | [6.2](newinversion62.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Events.Event.GetStructuredLocation"; EKEvent ) 

**MBS**( **"Events.Event.GetStructuredLocation";** /\* Queries structured location. \*/  
**$EKEvent**) /\* The reference to the event.e.g. $event \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EKEvent | The reference to the event. | $event |

### Result

Returns structured location ID or error.

### Description

Queries structured location.  
Allows you to set a structured location (a location with a potential geo-coordinate) on an event. The getter for Event’s location property just returns the structured location’s title. The setter for event’s location property is equivalent to creating a new structured location with just a title.  
Requires OS X 10.11 or newer.  
### See also

- [Events.Alarm.GetStructuredLocation](EventsAlarmGetStructuredLocation.md)
- [Events.Alarm.SetStructuredLocation](EventsAlarmSetStructuredLocation.md)
- [Events.Event.SetStructuredLocation](EventsEventSetStructuredLocation.md)

This function checks for a license.

Created 10th March 2016 , last changed 12nd March 2016

  
[Events.Event.GetStartDate](EventsEventGetStartDate.md) - [Events.Event.IsDetached](EventsEventIsDetached.md)

[HTML Version](EventsEventGetStructuredLocation.shtml)