NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ToolBar.InsertButton

Inserts a button at the given index in the ToolBar control.

[Visual Basic]
Public Sub InsertButton( _
   ByVal index As Integer, _
   ByVal value As ToolBarButton _
)
[C#]
public void InsertButton(
   int index,
   ToolBarButton value
);
[C++]
public: void InsertButton(
   int index,
   ToolBarButton* value
);
[JScript]
public function InsertButton(
   index : int,
   value : ToolBarButton
);

Parameters

index
Index at which to insert the button
value
The new Button to insert into the ToolBar

See Also

ToolBar Class | ToolBar Members | System.WinForms Namespace