RebarContainerItem.DoesBarExistAtPosition
Method
Description:
Checks whether a bar exists at the specified position.
Checks whether a bar exists at the specified position.
Remarks:
Returns true, unless the bar position is the first or last in the set and it is suppressed by IncludeFirstBar or IncludeLastBar.
Returns true, unless the bar position is the first or last in the set and it is suppressed by IncludeFirstBar or IncludeLastBar.
Parameters
| Parameter | Type | Description |
|---|---|---|
| barPosition | Int32 | A bar position index between 0 and NumberOfBarPositions-1. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | barPosition is not in the range [ 0, NumberOfBarPositions-1 ]. |