Click or drag to resize

IAssetManagerRemoveAssetFolder Method


Removes a single Asset Folder by ID.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
bool RemoveAssetFolder(
	string folderId,
	bool permanent = false
)

Parameters

folderId
Type: SystemString
ID of the asset folder to remove, as a string. Always starts with "af/" and ends with numbers. e.g. af/1.
permanent (Optional)
Type: SystemBoolean
Whether to permanently remove the asset folder

Return Value

Type: Boolean
True if Asset Folder exists, false otherwise.
See Also