IAssetManagerCreateAssetFolder Method
|
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax IAssetFolder CreateAssetFolder(
IAssetFolder parentFolder,
string name,
bool overwriteSameName
)
Function CreateAssetFolder (
parentFolder As IAssetFolder,
name As String,
overwriteSameName As Boolean
) As IAssetFolder
IAssetFolder^ CreateAssetFolder(
IAssetFolder^ parentFolder,
String^ name,
bool overwriteSameName
)
abstract CreateAssetFolder :
parentFolder : IAssetFolder *
name : string *
overwriteSameName : bool -> IAssetFolder
Parameters
- parentFolder
- Type: Ingeniux.CMSIAssetFolder
The parent Asset Folder to create the new folder under. - 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 "parentFolder" parameter value is null the new asset folder will be created under the asset tree root.
If "name" is null or empty an exception will be thrown.
See Also