RVTDocs.com

ClassificationEntry

Constructor
Description:
Constructs a ClassificationEntry object
Syntax
public ClassificationEntry(
	string key,
	string parentKey,
	string description,
	int level,
	ElementId categoryId
)
Parameters
Parameter Type Description
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.
Return Value
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