Skybound Rebar

RebarBand.RebarButtonCollection.Insert Method 

Inserts a RebarButton into this instance at the specified index.

[Visual Basic]
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal value As RebarButton _
)
[C#]
public void Insert(
   int index,
   RebarButton value
);

Parameters

index
The index at which the RebarButton is inserted.
value
The RebarButton to insert.

Remarks

You can also add new RebarButton objects to the collection by using the Add method.

To remove a RebarButton that you have previously added, use the Remove or RemoveAt methods.

Exceptions

Exception Type Condition
ArgumentNullException

The value parameter is a null reference (Nothing in Visual Basic).

See Also

RebarBand.RebarButtonCollection Class | Skybound.Rebar Namespace