Gets the specified criteria.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public RoutingCriterionBase GetCriterion(
int index
)
Parameters
- index Int32
-
Return Value
RoutingCriterionBase
The criterion at the specified zero-based index position.
Exceptions
| Exception | Condition |
|---|
| ArgumentException |
index is not a valid zero-based index.
-or-
Thrown if the index is out of bounds.
|
See Also
Reference