Revit 2016 API |
ComponentRepeater..::..IsTypeValidForRepeater Method |
ComponentRepeater Class See Also |
Determines whether given family type can be used as the default type for the repeater.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since:
2014
Syntax
C# |
---|
public bool IsTypeValidForRepeater( ElementId typeId ) |
Visual Basic |
---|
Public Function IsTypeValidForRepeater ( _ typeId As ElementId _ ) As Boolean |
Visual C++ |
---|
public: bool IsTypeValidForRepeater( ElementId^ typeId ) |
Parameters
- typeId
- Type: Autodesk.Revit.DB..::..ElementId
The element id of the type.
Return Value
True if the family type can be used as the default type for the repeater.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |