Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Sub New ( _
cookie As UInteger, _
active As Boolean _
)
'使用
Dim cookie As UInteger
Dim active As Boolean
Dim instance As New CommandContextChangedEventArgs(cookie, _
active)
public CommandContextChangedEventArgs(
uint cookie,
bool active
)
public:
CommandContextChangedEventArgs(
unsigned int cookie,
bool active
)
public function CommandContextChangedEventArgs(
cookie : uint,
active : boolean
)
Parameters
- cookie
Type: System.UInt32
- active
Type: System.Boolean
Permissions
- 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.
See Also
Reference
CommandContextChangedEventArgs Class