UiPath Documentation
activities
latest
false
生产力活动
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

创建日历项目方法

创建日历项目和更新日历项目类支持以下方法: 指定可选参加者的列表。

创建日历项目和更新日历项目类支持以下方法:

添加可选参加者​

指定可选参加者列表。

重载​

重载描述
AddOptionalAttendees(IEnumerable<String>)指定可选参加者列表。
AddOptionalAttendees(String[])指定可选参加者列表。

添加可选与会者(IEnumerable ) ​

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

attendeeEmails IEnumerable<String> :参加者的电子邮件。

AddOptionalAttendees(String[])​

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

attendeeEmails String[] :参加者的电子邮件。

添加所需参加者​

指定所需参加者的列表。

重载​

重载描述
AddRequiredAttendees(IEnumerable<String>)指定所需参加者的列表。
AddRequiredAttendees(String[])指定所需参加者的列表。

添加所需参加者(IEnumerable ) ​

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

attendeeEmails IEnumerable<String> :参加者的电子邮件。

AddRequiredAttendees(String[])​

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

attendeeEmails String[] :参加者的电子邮件。

添加资源与会者​

指定资源参加者列表。

重载​

重载描述
AddResourceAttendees(IEnumerable<String>)指定资源参加者列表。
AddResourceAttendees(String[])指定资源参加者列表。

添加资源参加者 (IEnumerable ) ​

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

attendeeEmails IEnumerable<String> :参加者的电子邮件。

AddResourceAttendees(String[])​

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

attendeeEmails IEnumerable<String> :参加者的电子邮件。

AddAttachments​

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

重载​

重载描述
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.

全天事件​

指定事件是否全天发生。

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

isAllDayEvent Boolean :指定事件是否全天发生。

可以邀请其他人​

指定来宾是否可以邀请其他与会者加入活动。

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

canInviteOthers Boolean :指定来宾是否可以邀请其他与会者加入活动。

可以修改事件​

指定来宾是否可以编辑活动。

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

canModify Boolean :指定来宾是否可以编辑活动。

可以查看参加者列表​

指定来宾是否可以查看受邀与会者的列表。

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

canSeeAttendeesList : Boolean指定来宾是否可以编辑活动。

ClearAttachments​

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

public UpdateCalendarItem ClearAttachments()
public UpdateCalendarItem ClearAttachments()

新说明​

更新事件的说明。

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

description String :事件的新说明。

OverwriteAttachments​

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

重载​

重载描述
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.

重载​

重载描述
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.

发送通知​

指定是否应向选定的参加者发送通知。

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

updates SendUpdates :指定是否应向选定的参加者发出通知。可用选项为“全部” 、 “仅外部”和“无” 。

ShowAs​

日历中显示的事件状态。

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

transparency EventTransparency :日历中显示的事件状态: “忙碌”或“空闲” 。

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.

重载​

重载描述
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.

使用会议数据​

指定活动是否应包含会议数据。

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

addConferenceData Boolean :活动是否应包含会议数据。

含结束日期​

设置活动的结束日期。

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

endDate DateTimeOffset :事件结束的日期和时间。

包含首选返回时区​

设置输出事件的时区。

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

timezone String :事件的时区。

包含开始日期​

设置活动的开始日期。

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

startDate DateTimeOffset :事件开始的日期和时间。

包含时区​

设置活动的时区。

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

timezone String :事件的时区。

带标题​

设置活动的标题。

publicCreateCalendarItemWithTitle(
	stringtile
)
publicCreateCalendarItemWithTitle(
	stringtile
)

title String :活动的标题。

可见​

应用于事件的可见性标签。

publicCreateCalendarItemWithVisibility(
	EventVisibilityvisibility
)
publicCreateCalendarItemWithVisibility(
	EventVisibilityvisibility
)

visibility EventVisibility :应用于事件的可见性标签: 默认、私有、公开或机密。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新