UiPath Documentation
activities
latest
false
Productivity activities

CreateCalendarItem methods

The CreateCalendarItem and Update CalenderItem classes support the following methods: Specifies a list of optional attendees.

The CreateCalendarItem and Update CalenderItem classes support the following methods:

AddOptionalAttendees​

Specifies a list of optional attendees.

Overloads​

OverloadDescription
AddOptionalAttendees(IEnumerable<String>)Specifies a list of optional attendees.
AddOptionalAttendees(String[])Specifies a list of optional attendees.

AddOptionalAttendees(IEnumerable)​

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

attendeeEmails IEnumerable<String> : The attendees' emails.

AddOptionalAttendees(String[])​

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

attendeeEmails String[] : The attendees' emails.

AddRequiredAttendees​

Specifies a list of required attendees.

Overloads​

OverloadDescription
AddRequiredAttendees(IEnumerable<String>)Specifies a list of required attendees.
AddRequiredAttendees(String[])Specifies a list of required attendees.

AddRequiredAttendees(IEnumerable)​

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

attendeeEmails IEnumerable<String> : The attendees' emails.

AddRequiredAttendees(String[])​

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

attendeeEmails String[] : The attendees' emails.

AddResourceAttendees​

Specifies a list of resource attendees.

Overloads​

OverloadDescription
AddResourceAttendees(IEnumerable<String>)Specifies a list of resource attendees.
AddResourceAttendees(String[])Specifies a list of resource attendees.

AddResourceAttendees(IEnumerable)​

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

attendeeEmails IEnumerable<String> : The attendees' emails.

AddResourceAttendees(String[])​

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

attendeeEmails IEnumerable<String> : The attendees' emails.

AddAttachments​

Adds Google Drive files to the attachments of an existing event. Available on UpdateCalendarItem.

Overloads​

OverloadDescription
AddAttachments(IEnumerable<IFile>)Adds a list of Google Drive files to the event attachments.
AddAttachments(IFile[])Adds one or more Google Drive files to the event attachments.

AddAttachments(IEnumerable)​

public UpdateCalendarItem AddAttachments(
	IEnumerable<IFile> files
)
public UpdateCalendarItem AddAttachments(
	IEnumerable<IFile> files
)

files IEnumerable<IFile> : The Google Drive files to add.

AddAttachments(IFile[])​

public UpdateCalendarItem AddAttachments(
	params IFile[] files
)
public UpdateCalendarItem AddAttachments(
	params IFile[] files
)

files IFile[] : The Google Drive files to add.

AllDayEvent​

Specifies whether the event takes place all day.

public CreateCalendarItem AllDayEvent(
	bool isAllDayEvent
)
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
)
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
)
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
)
public CreateCalendarItem CanSeeAttendeesList(
	bool canSeeAttendeesList
)

canSeeAttendeesList : Boolean Specifies if guests can edit the event.

ClearAttachments​

Removes all attachments from an existing event. Available on UpdateCalendarItem.

public UpdateCalendarItem ClearAttachments()
public UpdateCalendarItem ClearAttachments()

NewDescription​

Updates an event's description.

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

description String : The event's new description.

OverwriteAttachments​

Replaces the attachments of an existing event with the indicated Google Drive files. Available on UpdateCalendarItem.

Overloads​

OverloadDescription
OverwriteAttachments(IEnumerable<IFile>)Replaces the event attachments with a list of Google Drive files.
OverwriteAttachments(IFile[])Replaces the event attachments with one or more Google Drive files.

OverwriteAttachments(IEnumerable)​

public UpdateCalendarItem OverwriteAttachments(
	IEnumerable<IFile> files
)
public UpdateCalendarItem OverwriteAttachments(
	IEnumerable<IFile> files
)

files IEnumerable<IFile> : The Google Drive files that replace the existing attachments.

OverwriteAttachments(IFile[])​

public UpdateCalendarItem OverwriteAttachments(
	params IFile[] files
)
public UpdateCalendarItem OverwriteAttachments(
	params IFile[] files
)

files IFile[] : The Google Drive files that replace the existing attachments.

RemoveAttachments​

Removes Google Drive files from the attachments of an existing event. Files are matched by their Google Drive file ID. Available on UpdateCalendarItem.

Overloads​

OverloadDescription
RemoveAttachments(IEnumerable<IFile>)Removes a list of Google Drive files from the event attachments.
RemoveAttachments(IFile[])Removes one or more Google Drive files from the event attachments.

RemoveAttachments(IEnumerable)​

public UpdateCalendarItem RemoveAttachments(
	IEnumerable<IFile> files
)
public UpdateCalendarItem RemoveAttachments(
	IEnumerable<IFile> files
)

files IEnumerable<IFile> : The Google Drive files to remove.

RemoveAttachments(IFile[])​

public UpdateCalendarItem RemoveAttachments(
	params IFile[] files
)
public UpdateCalendarItem RemoveAttachments(
	params IFile[] files
)

files IFile[] : The Google Drive files to remove.

SendNotification​

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

public CreateCalendarItem SendNotification(
	SendUpdates updates
)
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
)
public CreateCalendarItem ShowAs(
	EventTransparency transparency
)

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

WithAttachments​

Attaches Google Drive files to the event. Only files can be attached, not folders. Attaching a file does not share it with the attendees. The file must be shared separately. Available on CreateCalendarItem.

Overloads​

OverloadDescription
WithAttachments(IEnumerable<IFile>)Attaches a list of Google Drive files to the event.
WithAttachments(IFile[])Attaches one or more Google Drive files to the event.

WithAttachments(IEnumerable)​

public CreateCalendarItem WithAttachments(
	IEnumerable<IFile> files
)
public CreateCalendarItem WithAttachments(
	IEnumerable<IFile> files
)

files IEnumerable<IFile> : The Google Drive files to attach.

WithAttachments(IFile[])​

public CreateCalendarItem WithAttachments(
	params IFile[] files
)
public CreateCalendarItem WithAttachments(
	params IFile[] files
)

files IFile[] : The Google Drive files to attach.

WithConferenceData​

Indicates if the event should contain conference data.

public CreateCalendarItem WithConferenceData(
	bool addConferenceData
)
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
)
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
)
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
)
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
)
public CreateCalendarItem WithTimezone(
	string timezone
)

timezone String : The time zone for the event.

WithTitle​

Sets the title of the event.

publicCreateCalendarItemWithTitle(
	stringtile
)
publicCreateCalendarItemWithTitle(
	stringtile
)

title String : The title for the event.

WithVisibility​

The visibility label applied to the event.

publicCreateCalendarItemWithVisibility(
	EventVisibilityvisibility
)
publicCreateCalendarItemWithVisibility(
	EventVisibilityvisibility
)

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

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated