Visual Studio SDK
OleMenuCommand.BeforeQueryStatus Event

Called when a client requests the status of the command.

Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in microsoft.visualstudio.shell.dll)

Syntax

Visual Basic (Declaration)
Public Event BeforeQueryStatus As EventHandler
Visual Basic (Usage)
Dim instance As OleMenuCommand
Dim handler As EventHandler

AddHandler instance.BeforeQueryStatus, handler
C#
public event EventHandler BeforeQueryStatus
C++
public:
event EventHandler^ BeforeQueryStatus {
	void add (EventHandler^ value);
	void remove (EventHandler^ value);
}
J#
/** @event */
public void add_BeforeQueryStatus (EventHandler value)

/** @event */
public void remove_BeforeQueryStatus (EventHandler value)
JScript
JScript supports the use of events, but not the declaration of new ones.
See Also

Tags :


Page view tracker