UiPath Documentation
activities
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

生産性を高めるアクティビティ

最終更新日時 2026年4月16日

GetFile

Google ドライブから、相対パス、URL、ID、またはフル パスでファイルを取得します。

名前空間: UiPath.Gsuite.Activities.API

アセンブリ: UiPath.Gsuite.Activities.API (UiPath.Gsuite.Activities.API.dll 内)

オーバー ロード

オーバーロード説明
GetFile(IFolder, String)Google ドライブから相対パスでファイルを取得します。
GetFile(String, IdentificationType)Google ドライブから URL、ID またはフルパスでファイルを取得します。

GetFile(IFolder, String)

Google ドライブから相対パスでファイルを取得します。

public IFile GetFile(
	IFolder parent,
	string relativePath
)
public IFile GetFile(
	IFolder parent,
	string relativePath
)

parent IFolder : ファイルを検索する Google ドライブ上の基本の場所です。

relativePath String : 名前と拡張子を含む、親フォルダーへの相対ファイル パスです。

戻り値

IFile - 取得するファイルです。

GetFile(String, IdentificationType)

Google ドライブから URL、ID またはフルパスでファイルを取得します。

public IFile GetFile(
	string identifier,
	IdentificationType type = IdentificationType.UrlOrId
)
public IFile GetFile(
	string identifier,
	IdentificationType type = IdentificationType.UrlOrId
)

identifier String : 取得するファイルの識別子 (ID、URL、フル パス) です。

type IdentificationType (任意) : 指定した識別子の種類 (ID、URL、またはフル パス) を指定します。

戻り値

IFile - 取得するファイルです。

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得