AddCategory Method
Adds a new Category
Required Permissions
ManageBehaviorDefinitionSyntax
public Cat AddCategory(
System.string entityClassId,
System.string systemName,
System.string displayName,
System.int color,
System.string description,
BehaviorAssignmentType assignmentType
)Public Function AddCategory( _
ByVal entityClassId As System.String, _
ByVal systemName As System.String, _
ByVal displayName As System.String, _
ByVal color As System.Integer, _
ByVal description As System.String, _
ByVal assignmentType As BehaviorAssignmentType _
) As CatParameters
| Name | Description |
|---|---|
| entityClassId | The entity class ID. |
| systemName | The system name of the Category. This value must be a GUID with the following format (lower case): xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
| displayName | The display name. |
| color | The display color. The format should be 32-bit ARGB. |
| description | A description. |
| assignmentType | Tells if the category is enabled. |
Return Value
The resulting Category object.