Skybound Rebar

RebarBand.RebarButtonCollection.Item Property

Gets the first instance of RebarButton with the specified name in this instance.

[Visual Basic]
Overloads Public Default ReadOnly Property Item( _
   ByVal name As String _
) As RebarButton
[C#]
public RebarButton this[
   string name
] {get;}

Parameters

name
The name of the RebarButton in the collection.

Property Value

The RebarButton with the specified name, or a null reference (Nothing in Visual Basic) if no button exists with the specified name.

Remarks

To retreive an item from the RebarBand.RebarButtonCollection, you can specify the name of the button. If more than one button exists in the collection with the same name, the button with the lower index is returned.

See Also

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