Returns the highest index of the array in the given dimension.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2014
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- dimension
- Type: SystemInt32
The dimension.
Return Value
The highest index of the array in the given dimension.Remarks
The dimension begins at 0 and must be in the range [0, number of dimensions in the bounds - 1]. This method does not apply to zero dimensional bounds.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.ExceptionsArgumentException | The dimension is invalid for these bounds. |
Autodesk.Revit.ExceptionsInvalidOperationException | The bounds must have at least one dimension. |