Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the DynamicStatusMenuCommand class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Public Sub New ( _
statusHandler As EventHandler, _
invokeHandler As EventHandler, _
id As CommandID _
)
public DynamicStatusMenuCommand(
EventHandler statusHandler,
EventHandler invokeHandler,
CommandID id
)
public:
DynamicStatusMenuCommand(
EventHandler^ statusHandler,
EventHandler^ invokeHandler,
CommandID^ id
)
new :
statusHandler:EventHandler *
invokeHandler:EventHandler *
id:CommandID -> DynamicStatusMenuCommand
public function DynamicStatusMenuCommand(
statusHandler : EventHandler,
invokeHandler : EventHandler,
id : CommandID
)
Parameters
- statusHandler
Type: System.EventHandler
The event handler that is called when the menu command status must be updated.
- invokeHandler
Type: System.EventHandler
The event handler that is called when the menu command is invoked.
- id
Type: System.ComponentModel.Design.CommandID
The command ID for the menu command.
.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.