Called when a client requests the status of the command.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in microsoft.visualstudio.shell.dll)
Visual Basic (Declaration)
Public Event BeforeQueryStatus As EventHandler
Dim instance As OleMenuCommand
Dim handler As EventHandler
AddHandler instance.BeforeQueryStatus, handler
public event EventHandler BeforeQueryStatus
public:
event EventHandler^ BeforeQueryStatus {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
/** @event */
public void add_BeforeQueryStatus (EventHandler value)
/** @event */
public void remove_BeforeQueryStatus (EventHandler value)
JScript supports the use of events, but not the declaration of new ones.