Partager via


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

  • parameters
    Type: array<System.Object[]

    An array of parameters for use with this command.

.NET Framework Security

See Also

Reference

DataViewCommandProvider Class

UpdateCommandStatus Overload

Microsoft.VisualStudio.Data.Framework Namespace