ClassificationEntry Constructor


Classification Entry Constructor

Constructs a ClassificationEntry object

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ClassificationEntry(
	string key,
	string parentKey,
	string description,
	int level,
	ElementId categoryId
)

Parameters

key String
The key of this ClassificationEntry.
parentKey String
The parent key of this ClassificationEntry.
description String
The description associated with this ClassificationEntry.
level Int32
The level of this ClassficationEntry.
categoryId ElementId
The category id of this ClassificationEntry. The category can be invalidElementId, otherwise it must represent Revit existing category.
Exceptions
Exception Condition
ArgumentException key is an empty string. -or- The categoryId is not appropriate category id for classfication entry.
ArgumentNullException A non-optional argument was null
See Also