Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal commandName As String, _ ByVal enableImage As Boolean, _ ByVal enableTooltip As Boolean, _ ByVal enableText As Boolean, _ ByVal parameters As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public CommandUI( string commandName, bool enableImage, bool enableTooltip, bool enableText, string parameters ) |
Parameters
- commandName
- The Command name to link this CommandUI instance with Command
- enableImage
- Determines whether or not to show image in control automaticaly
- enableTooltip
- Determines whether or not to show tooltip in control automaticaly
- enableText
- Determines whether or not to show text in control automaticaly
- parameters
- Represents the parameters which is passed to command to execute
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family