Adds an elementary command to the chain of command.

C# | Visual Basic | Visual C++ |
void AddCommandToChainOfCommand( string commandName, IList<CommandActivator> elementsOfCommandType )
Sub AddCommandToChainOfCommand ( _ commandName As String, _ elementsOfCommandType As IList(Of CommandActivator) _ )
void AddCommandToChainOfCommand( String^ commandName, IList<CommandActivator^>^ elementsOfCommandType )

- commandName (String)
- The name of the command.
- elementsOfCommandType (IList<(Of <(CommandActivator>)>))
- The type of the elements of command.