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