Returns the zero-based index of the first occurrence of a specified value in this instance.
The zero-based index of the first occurrence of value if found; otherwise, returns -1.
This method gives you easy access to the index value of the RebarButton in the collection.
RebarBand.RebarButtonCollection Class | Skybound.Rebar Namespace