DataViewCommandProvider.UpdateCommandStatus Method (MenuCommand, array<Object )
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
Protected Overridable Sub UpdateCommandStatus ( _
command As MenuCommand, _
parameters As Object() _
)
protected virtual void UpdateCommandStatus(
MenuCommand command,
Object[] parameters
)
protected:
virtual void UpdateCommandStatus(
MenuCommand^ command,
array<Object^>^ parameters
)
abstract UpdateCommandStatus :
command:MenuCommand *
parameters:Object[] -> unit
override UpdateCommandStatus :
command:MenuCommand *
parameters:Object[] -> unit
protected function UpdateCommandStatus(
command : MenuCommand,
parameters : Object[]
)
Parameters
command
Type: System.ComponentModel.Design.MenuCommandA MenuCommand object representing the command to update.
parameters
Type: array<System.Object[]An array of parameters for use with this command.
.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.