Share via


CommandContextChangedEventArgs Constructor

Constructor.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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: UInt32

    Cookie corresponding to command context that is changing.

  • active
    Type: Boolean

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

.NET Framework Security

See Also

Reference

CommandContextChangedEventArgs Class

Microsoft.VisualStudio.Modeling.Shell Namespace