Adds a menu command to the document.
[Visual Basic] Sub AddCommand( _ ByVal command As MenuCommand _ ) [C#] void AddCommand( MenuCommand command ); [C++] void AddCommand( MenuCommand* command ) = 0; [JScript] function AddCommand( command : MenuCommand );
The menu command must already exist on a menu; this method merely adds a handler for it.
IMenuCommandService Interface | IMenuCommandService Members | System.ComponentModel.Design Namespace