Click or drag to resize

IAssetManagerCreateAssetRootFolder Method


Creates a new Asset Folder at the top level of the asset tree.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
IAssetFolder CreateAssetRootFolder(
	string name,
	bool overwriteSameName
)

Parameters

name
Type: SystemString
Name for the new Asset Folder.
overwriteSameName
Type: SystemBoolean
Whether to overwrite an asset folder with the same name upon creation.

Return Value

Type: IAssetFolder
The newly created Asset Folder.
Remarks

If "name" is null or empty an exception will be thrown.

See Also