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

'宣言
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);
}
JScript does not support events.

Permissions

See Also

Reference

OleMenuCommand Class

OleMenuCommand Members

Microsoft.VisualStudio.Shell Namespace