| Visual Basic (Declaration) | |
|---|---|
Overloads Public Function AddButton( _ ByVal text As String, _ ByVal clickHandler As CommandEventHandler, _ ByVal shortcut As Keys, _ ByVal commandID As Integer _ ) As CommandBarButton | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public CommandBarButton AddButton( string text, CommandEventHandler clickHandler, Keys shortcut, int commandID ) | |
Parameters
- text
- clickHandler
- shortcut
- commandID