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.3.169
Syntax IAssetFolder CreateAssetRootFolder(
string name,
bool overwriteSameName
)
Function CreateAssetRootFolder (
name As String,
overwriteSameName As Boolean
) As IAssetFolder
IAssetFolder^ CreateAssetRootFolder(
String^ name,
bool overwriteSameName
)
abstract CreateAssetRootFolder :
name : string *
overwriteSameName : bool -> IAssetFolder
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:
IAssetFolderThe newly created
Asset Folder.
Remarks
If "name" is null or empty an exception will be thrown.
See Also