Activities
latest
false
Productivity Activities
Last updated Jul 1, 2024

MoveFolder

Moves a folder to the specified destination folder in Google Drive.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Syntax

public IFolder MoveFolder(
	IFolder folder,
	IFolder destination,
	string newName = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.AddSeparate
)public IFolder MoveFolder(
	IFolder folder,
	IFolder destination,
	string newName = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.AddSeparate
)

Parameters

folder IFolder
The folder to move.
destination IFolder
The Google Drive location where to move the folder.
newName String (Optional)
The name given to the moved folder. If left blank, the moved folder will retain the original name.
conflictBehavior ConflictBehavior (Optional)
What is the expected behavior when a folder with the same name already exists in the destination folder.

Return value

IFolder - The moved folder.
  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.