2027 Method
Changes 2
M

Category.GetBuiltInCategory

Description:
Gets the BuiltInCategory value corresponding to the given built-in category identifier.
Remarks:
A ForgeTypeId identifies a built-in category if it corresponds to a valid BuiltInCategory value according to Category.IsBuiltInCategory(ForgeTypeId) and Category.GetBuiltInCategoryTypeId(BuiltInCategory).
public static BuiltInCategory GetBuiltInCategory(
	ForgeTypeId categoryTypeId
)
  • categoryTypeId
    The built-in category identifier.
Return Value BuiltInCategory The BuiltInCategory value corresponding to the given built-in category identifier.
  • categoryTypeId is not a built-in category identifier. See Category.IsBuiltInCategory(ForgeTypeId) and Category.GetBuiltInCategoryTypeId(BuiltInCategory).
  • A non-optional argument was null