Moves this folder and all of its subfolders and contents from its current parent folder to the target parent folder specified.

Note You cannot move the root folder for the object store.

Namespace:  FileNet.Api.Core
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Sub Move ( _
	targetFolder As IFolder _
)
C#
void Move(
	IFolder targetFolder
)
Visual C++
void Move(
	IFolder^ targetFolder
)
JavaScript
function move(targetFolder);

Parameters

targetFolder
Type: FileNet.Api.Core..::.IFolder
A Folder object for the intended parent folder for this instance. The target folder must already exist.

ToggleExceptions

ExceptionCondition
FileNet.Api.Exception..::.EngineRuntimeExceptionThrown if the target folder is this instance or one of its subfolders.

ToggleSee Also