共用方式為


CommandContextChangedEventArgs(UInt32, Boolean) Constructor

Definition

Constructor.

public:
 CommandContextChangedEventArgs(System::UInt32 cookie, bool active);
public CommandContextChangedEventArgs (uint cookie, bool active);
new Microsoft.VisualStudio.Modeling.Shell.CommandContextChangedEventArgs : uint32 * bool -> Microsoft.VisualStudio.Modeling.Shell.CommandContextChangedEventArgs
Public Sub New (cookie As UInteger, active As Boolean)

Parameters

cookie
UInt32

Cookie corresponding to command context that is changing.

active
Boolean

True if the command context if being activated, false if the context is being deactivated.

Applies to