다음을 통해 공유


CommandContextChangedEventArgs Constructor

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

See Also

Reference

CommandContextChangedEventArgs Class

Microsoft.VisualStudio.Modeling.Shell Namespace