Autodesk Vault ProfessionalVault API

UpdateCategory Method

Autodesk.Connectivity.WebServicesCategoryService

Updates category information.

Required Permissions

ManageBehaviorDefinition

Syntax

public Cat UpdateCategory(
   System.long catDefId,
   System.string displayName,
   System.int color,
   System.string description,
   BehaviorAssignmentType assignmentType
)
Public Function UpdateCategory( _
   ByVal catDefId As System.Long, _
   ByVal displayName As System.String, _
   ByVal color As System.Integer, _
   ByVal description As System.String, _
   ByVal assignmentType As BehaviorAssignmentType _
) As Cat

Parameters

NameDescription
catDefIdThe category ID.
displayNameThe new display name.
colorThe new color. It must be a 32-bit ARGB value.
descriptionThe new description
assignmentTypeThe tells if the category is active or not.

Return Value

The updated category object.

See Also