Revit 2025.3 API
Key |
Verifies if the KeyBasedTreeEntry could be added in this KeyBasedTreeEntriesLoadContent.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool CanAddEntry( KeyBasedTreeEntry entry )
Public Function CanAddEntry ( entry As KeyBasedTreeEntry ) As Boolean
public: bool CanAddEntry( KeyBasedTreeEntry^ entry )
member CanAddEntry : entry : KeyBasedTreeEntry -> bool
Parameters
- entry KeyBasedTreeEntry
- The KeyBasedTreeEntry object to be checked.
Return Value
BooleanTrue if the KeyBasedTreeEntry could be added in, otherwise false.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also