# CreateCalendarItem methods

> The CreateCalendarItem and Update CalenderItem classes support the following methods:

The CreateCalendarItem and Update CalenderItem classes support the following methods:

## AddOptionalAttendees

Specifies a list of optional attendees.

### Overloads

| Overload | Description |
| --- | --- |
| `AddOptionalAttendees(IEnumerable<String>)` | Specifies a list of optional attendees. |
| `AddOptionalAttendees(String[])` | Specifies a list of optional attendees. |

### AddOptionalAttendees(IEnumerable<String>)

```
public CreateCalendarItem AddOptionalAttendees(
	IEnumerable<String> attendeeEmails
)
```

**`attendeeEmails`** `IEnumerable<String>` : The attendees' emails.

### AddOptionalAttendees(String[])

```
public CreateCalendarItem AddOptionalAttendees(
	params string[] attendeeEmails
)
```

**`attendeeEmails`** `String[]` : The attendees' emails.

## AddRequiredAttendees

Specifies a list of required attendees.

### Overloads

| Overload | Description |
| --- | --- |
| `AddRequiredAttendees(IEnumerable<String>)` | Specifies a list of required attendees. |
| `AddRequiredAttendees(String[])` | Specifies a list of required attendees. |

### AddRequiredAttendees(IEnumerable<String>)

```
publicCreateCalendarItemAddRequiredAttendees(
	IEnumerable<String> attendeeEmails
)
```

**`attendeeEmails`** `IEnumerable<String>` : The attendees' emails.

### AddRequiredAttendees(String[])

```
public CreateCalendarItem AddRequiredAttendees(
	params string[] attendeeEmails
)
```

**`attendeeEmails`** `String[]` : The attendees' emails.

## AddResourceAttendees

Specifies a list of resource attendees.

### Overloads

| Overload | Description |
| --- | --- |
| `AddResourceAttendees(IEnumerable<String>)` | Specifies a list of resource attendees. |
| `AddResourceAttendees(String[])` | Specifies a list of resource attendees. |

### AddResourceAttendees(IEnumerable<String>)

```
public CreateCalendarItem AddResourceAttendees(
	IEnumerable<String> attendeeEmails
)
```

**`attendeeEmails`** `IEnumerable<String>` : The attendees' emails.

### AddResourceAttendees(String[])

```
public CreateCalendarItem AddResourceAttendees(
	params string[] attendeeEmails
)
```

**`attendeeEmails`** `IEnumerable<String>` : The attendees' emails.

## AllDayEvent

Specifies whether the event takes place all day.

```
public CreateCalendarItem AllDayEvent(
	bool isAllDayEvent
)
```

**`isAllDayEvent`** `Boolean` : Specifies whether the event takes place all day.

## CanInviteOthers

Specifies if guests can invite other attendees to the event.

```
public CreateCalendarItem CanInviteOthers(
	bool canInviteOthers
)
```

**`canInviteOthers`** `Boolean` : Specifies if guests can invite other attendees to the event.

## CanModifyEvent

Specifies if guests can edit the event.

```
public CreateCalendarItem CanModifyEvent(
	bool canModify
)
```

`canModify` `Boolean` : Specifies if guests can edit the event.

## CanSeeAttendeesList

Specifies if guests can see the list of attendees who are invited.

```
public CreateCalendarItem CanSeeAttendeesList(
	bool canSeeAttendeesList
)
```

**`canSeeAttendeesList`** : `Boolean` Specifies if guests can edit the event.

## NewDescription

Updates an event's description.

```
public CreateCalendarItem NewDescription(
	string description
)
```

**`description`** `String` : The event's new description.

## SendNotification

Specifies if notifications should be sent out to the selected attendees.

```
public CreateCalendarItem SendNotification(
	SendUpdates updates
)
```

**`updates`** `SendUpdates` : Specifies if notifications should be sent out to the selected attendees. The available options are **All**, **External Only**, and **None**.

## ShowAs

The event status displayed in the calendar.

```
public CreateCalendarItem ShowAs(
	EventTransparency transparency
)
```

**`transparency`** `EventTransparency` : The event status displayed in the calendar: **Busy** or **Free**.

## WithConferenceData

Indicates if the event should contain conference data.

```
public CreateCalendarItem WithConferenceData(
	bool addConferenceData
)
```

**`addConferenceData`** `Boolean` : If the event should contain conference data.

## WithEndDate

Set an end date for the event.

```
public CreateCalendarItem WithEndDate(
	DateTimeOffset endDate
)
```

**`endDate`** `DateTimeOffset` : The date and time when the event ends.

## WithPreferredReturnTimezone

Set the time zone for the output event.

```
public CreateCalendarItem WithPreferredReturnTimezone(
	string timezone
)
```

`timezone` `String` : The time zone for the event.

## WithStartDate

Set a start date for the event.

```
public CreateCalendarItem WithStartDate(
	DateTimeOffset startDate
)
```

**`startDate`** `DateTimeOffset` : The date and time when the event starts.

## WithTimezone

Set the time zone for the event.

```
public CreateCalendarItem WithTimezone(
	string timezone
)
```

`timezone` `String` : The time zone for the event.

## WithTitle

Sets the title of the event.

```
publicCreateCalendarItemWithTitle(
	stringtile
)
```

`title` `String` : The title for the event.

## WithVisibility

The visibility label applied to the event.

```
publicCreateCalendarItemWithVisibility(
	EventVisibilityvisibility
)
```

`visibility` `EventVisibility` : The visibility label applied to the event: Default, Private, Public, or Confidential.
