Autodesk Vault ProfessionalVault API

AddFolderWithCategory Method

Autodesk.Connectivity.WebServicesDocumentServiceExtensions

Creates a new Folder and assigns it to a Category.

Required Permissions

FolderCreate

Syntax

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 Folder

Parameters

NameDescription
nameThe name of the new folder.
parentIdThe ID of the parent folder.
isLibraryTells if the folder a library. Libraries can only be created under the root folder
categoryIdThe Category for the folder.

Return Value

A Folder object representing the newly created folder.

See Also