DataViewCommandProvider.UpdateCommandStatus Method (MenuCommand)
Updates the status of the specified menu command.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Sub UpdateCommandStatus ( _
command As MenuCommand _
)
public void UpdateCommandStatus(
MenuCommand command
)
public:
virtual void UpdateCommandStatus(
MenuCommand^ command
) sealed
abstract UpdateCommandStatus :
command:MenuCommand -> unit
override UpdateCommandStatus :
command:MenuCommand -> unit
public final function UpdateCommandStatus(
command : MenuCommand
)
Parameters
- command
Type: System.ComponentModel.Design.MenuCommand
A MenuCommand object representing the command to update.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.