'Declaration
Public Overloads Function ExecuteCommand( _ ByVal commandName As String, _ ByVal parameter As Object _ ) As Boolean
'Usage
Dim instance As RibbonBar Dim commandName As String Dim parameter As Object Dim value As Boolean value = instance.ExecuteCommand(commandName, parameter)
public bool ExecuteCommand( string commandName, object parameter )
Parameters
- commandName
- A string value indicates the command.
- parameter
- An object instance indicates the command parameter.
Return Value
true
if the command is executed successful; otherwise, false
.