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
'宣言
Protected Overridable Sub UpdateCommandStatus ( _
command As MenuCommand, _
parameters As Object() _
)
'使用
Dim command As MenuCommand
Dim parameters As Object()
Me.UpdateCommandStatus(command, parameters)
protected virtual void UpdateCommandStatus(
MenuCommand command,
Object[] parameters
)
protected:
virtual void UpdateCommandStatus(
MenuCommand^ command,
array<Object^>^ parameters
)
protected function UpdateCommandStatus(
command : MenuCommand,
parameters : Object[]
)
Parameters
command
Type: System.ComponentModel.Design.MenuCommandA MenuCommand object representing the command to update.
parameters
Type: []An array of parameters for use with this command.
Permissions
- 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.