Checks if given type is valid for this subelement.
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 18.0.0.0 (18.0.0.420)
Since:
2018
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- typeId
-
Type:
Autodesk.Revit.DB
ElementId
ElementId of the type to check.
Return Value
True if subelement can have a type assigned and this type is valid for this subelement, false otherwise.Remarks
A type is valid for a subelement if it can be assigned to the subelement.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |