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 RebarBand in the collection. You can also use the Index property to retrieve the index of a band in the collection that contains it.
Rebar.RebarBandCollection Class | Skybound.Rebar Namespace