Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constructor.
Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
    cookie As UInteger, _
    active As Boolean _
)
public CommandContextChangedEventArgs(
    uint cookie,
    bool active
)
public:
CommandContextChangedEventArgs(
    unsigned int cookie, 
    bool active
)
new : 
        cookie:uint32 * 
        active:bool -> CommandContextChangedEventArgs
public function CommandContextChangedEventArgs(
    cookie : uint, 
    active : boolean
)
Parameters
- cookie 
 Type: System.UInt32- Cookie corresponding to command context that is changing. 
- active 
 Type: System.Boolean- True if the command context if being activated, false if the context is being deactivated. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.