Skip to content

ClassificationEntry

Public 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

keyString

The key of this ClassificationEntry.

parentKeyString

The parent key of this ClassificationEntry.

descriptionString

The description associated with this ClassificationEntry.

levelInt32

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