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 DataMenuCommand class, specifying the command identifier and events.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
command As CommandID, _
statusHandler As EventHandler, _
handler As EventHandler _
)
public DataMenuCommand(
CommandID command,
EventHandler statusHandler,
EventHandler handler
)
public:
DataMenuCommand(
CommandID^ command,
EventHandler^ statusHandler,
EventHandler^ handler
)
new :
command:CommandID *
statusHandler:EventHandler *
handler:EventHandler -> DataMenuCommand
public function DataMenuCommand(
command : CommandID,
statusHandler : EventHandler,
handler : EventHandler
)
Parameters
- command
Type: System.ComponentModel.Design.CommandID
A CommandID object containing the unique command ID that links this menu command to the environment's menu.
- statusHandler
Type: System.EventHandler
The event to raise to convey status updates.
- handler
Type: System.EventHandler
The event to raise when the user selects the menu item.
.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.