Category.GetBuiltInCategory
Description:
Gets the BuiltInCategory value corresponding to the given built-in category identifier.
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).
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
)
-
categoryTypeIdThe 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