AddFolderWithCategory Method
Creates a new Folder and assigns it to a Category.
Required Permissions
FolderCreateSyntax
public override Folder AddFolderWithCategory(
System.string name,
System.long parentId,
System.bool isLibrary,
System.long categoryId
)Public Overrides NotOverridable Function AddFolderWithCategory( _
ByVal name As System.String, _
ByVal parentId As System.Long, _
ByVal isLibrary As System.Boolean, _
ByVal categoryId As System.Long _
) As FolderParameters
| Name | Description |
|---|---|
| name | The name of the new folder. |
| parentId | The ID of the parent folder. |
| isLibrary | Tells if the folder a library. Libraries can only be created under the root folder |
| categoryId | The Category for the folder. |
Return Value
A Folder object representing the newly created folder.