Click or drag to resize

IAssetManagerMoveAssetFolder Method


Moves an Asset Folder together with its descendants to the specified target location.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
IAssetFolder MoveAssetFolder(
	IAssetFolder source,
	IAssetFolder targetParent,
	string newFolderName,
	bool overwriteSameName
)

Parameters

source
Type: Ingeniux.CMSIAssetFolder
The Asset Folder to be moved.
targetParent
Type: Ingeniux.CMSIAssetFolder
The destination parent Asset Folder.
newFolderName
Type: SystemString
New name for the asset folder after it has been moved.
overwriteSameName
Type: SystemBoolean
Whether to overwrite an asset folder with the same name upon creation.

Return Value

Type: IAssetFolder
The "source" after it has been moved.
See Also