RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Category

Category.IsBuiltInCategory

Method
Description:
Checks whether a ForgeTypeId identifies a built-in category.
Remarks:
A ForgeTypeId identifies a built-in category if it corresponds to a valid BuiltInCategory value according to Category.IsBuiltInCategoryValid(BuiltInCategory) and Category.GetBuiltInCategoryTypeId(BuiltInCategory).
Syntax
public static bool IsBuiltInCategory(
	ForgeTypeId categoryTypeId
)
Parameters
Parameter Type Description
categoryTypeId ForgeTypeId The identifier to check.
Return Value
Type Description
Boolean True if the ForgeTypeId identifies a built-in category, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null