Events.Event.SetStructuredLocation
----------------------------------

Sets the 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.SetStructuredLocation"; EKEvent; EKStructuredLocation ) 

**MBS**( **"Events.Event.SetStructuredLocation";** /\* Sets the structured location. \*/  
**$EKEvent**; /\* The reference to the event.e.g. $event \*/   
**$EKStructuredLocation**) /\* The reference to the structured location.e.g. $StructuredLocation \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EKEvent | The reference to the event. | $event |
| EKStructuredLocation | The reference to the structured location. | $StructuredLocation |

### Result

Returns OK or error.

### Description

Sets the structured location.  
This allows you to pass title and geo coordinates with a radius to describe location exactly.  
See also [Events.Item.SetLocation](EventsItemSetLocation.md).  
Requires OS X 10.11 or newer.  
### See also

- [Events.Alarm.GetStructuredLocation](EventsAlarmGetStructuredLocation.md)
- [Events.Alarm.SetStructuredLocation](EventsAlarmSetStructuredLocation.md)
- [Events.Event.GetStructuredLocation](EventsEventGetStructuredLocation.md)
- [Events.Item.SetLocation](EventsItemSetLocation.md)
- [Events.StructuredLocation.NewLocationWithTitle](EventsStructuredLocationNewLocationWithTitle.md)

This function checks for a license.

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

  
[Events.Event.SetStartDate](EventsEventSetStartDate.md) - [Events.Event.Status](EventsEventStatus.md)

[HTML Version](EventsEventSetStructuredLocation.shtml)