Skybound Rebar

RebarBand.RebarButtonCollection.Item Property

Gets or sets the RebarButton at the given index in this instance.

[Visual Basic]
Overloads Public Default Property Item( _
   ByVal index As Integer _
) As RebarButton
[C#]
public RebarButton this[
   int index
] {get; set;}

Parameters

index
The indexed location of the RebarButton in the collection.

Property Value

The RebarButton at the specified index.

Remarks

To retreive an item from the RebarBand.RebarButtonCollection, you can reference the collection object with a specific index value. The index value of the RebarBand.RebarButtonCollection is a zero-based index.

Exceptions

Exception Type Condition
ArgumentException

The index parameter is less than zero.

-or-

The index parameter is greater than the number of items in the collection.

See Also

RebarBand.RebarButtonCollection Class | Skybound.Rebar Namespace | RebarBand.RebarButtonCollection.Item Overload List