DataViewCommandProvider.UpdateCommandStatus, méthode (MenuCommand, array<Object )
Met à jour l'état de la commande de menu spécifiée.
Espace de noms : Microsoft.VisualStudio.Data.Framework
Assembly : Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)
Syntaxe
'Déclaration
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[]
)
Paramètres
- command
Type : System.ComponentModel.Design.MenuCommand
Un objet d' MenuCommand représentant la commande pour mettre à jour.
- parameters
Type : array<System.Object[]
Un tableau de paramètres à utiliser avec cette commande.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
DataViewCommandProvider Classe