Creates a tool strip button given the TCommand definition.
| C# | Visual Basic | Visual C++ |
public static ToolStripButton CreateToolStripButton<TCommand>() where TCommand : new(), ICommand
Public Shared Function CreateToolStripButton(Of TCommand As {New, ICommand}) As ToolStripButton
public: generic<typename TCommand> where TCommand : gcnew(), ICommand static ToolStripButton^ CreateToolStripButton()
- TCommand
- The type of the command.
A tool strip button