Category.GetBuiltInCategoryTypeId
Method
Description:
Gets the ForgeTypeId identifying the given built-in category.
Gets the ForgeTypeId identifying the given built-in category.
Remarks:
The given BuiltInCategory value must be valid according to Category.IsBuiltInCategoryValid(BuiltInCategory).
The given BuiltInCategory value must be valid according to Category.IsBuiltInCategoryValid(BuiltInCategory).
Parameters
| Parameter | Type | Description |
|---|---|---|
| categoryId | BuiltInCategory | The built-in category. |
Return Value
| Type | Description |
|---|---|
| ForgeTypeId | The identifier of the given built-in category. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | categoryId is not a valid built-in category. See Category.IsBuiltInCategoryValid(BuiltInCategory). |