activities
latest
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
生产力活动
Last updated 2024年9月27日

获取项目

通过相对路径、URL、ID 或完整路径从 Google 云端硬盘获取文件或文件夹。

命名空间:UiPath.Gsuite.Activities.API

程序集:UiPath.Gsuite.Activities.API(在 UiPath.Gsuite.Activities.API.dll 中)

重载

重载描述
GetItem(Folder, String)按相对路径从 Google 云端硬盘获取文件或文件夹。

GetItem(String, IdentificationType)按 URL、ID 或完整路径从 Google 云端硬盘获取文件或文件夹。

GetItem(IFolder, String)

按相对路径从 Google 云端硬盘获取文件或文件夹。
public IDriveItem GetItem(
	IFolder parent,
	string relativePath
)public IDriveItem GetItem(
	IFolder parent,
	string relativePath
)
父项 IF 文件夹
Google 云端硬盘上搜索文件或文件夹的基本位置。
相对路径 字符串
父文件夹的相对文件或文件夹路径,包括名称和扩展名。

GetItem(字符串, 身份验证类型)

按 URL、ID 或完整路径从 Google 云端硬盘获取文件或文件夹。
public IDriveItem GetItem(
	string identifier,
	IdentificationType type = IdentificationType.UrlOrId
)public IDriveItem GetItem(
	string identifier,
	IdentificationType type = IdentificationType.UrlOrId
)
标识符 字符串
要检索的文件或文件夹的标识符 (ID、URL、完整路径)。
类型 IdentificationType (可选)
指定所提供标识符的类型 (ID、URL 或完整路径)。

返回值

IDriveItem ”- 已检索的文件或文件夹。

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。