RemoveCommand Method
See Also 
SourceCode.Framework.Design Namespace > MenuCommandServiceBase Class : RemoveCommand Method



command
The System.ComponentModel.Design.MenuCommand to remove.

Glossary Item Box

Removes the specified standard menu command from the menu.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub RemoveCommand( _
   ByVal command As MenuCommand _
) 
Visual Basic (Usage)Copy Code
Dim instance As MenuCommandServiceBase
Dim command As MenuCommand
 
instance.RemoveCommand(command)
C# 
public virtual void RemoveCommand( 
   MenuCommand command
)
C++/CLI 
public:
virtual void RemoveCommand( 
   MenuCommand^ command
) 

Parameters

command
The System.ComponentModel.Design.MenuCommand to remove.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also