Поделиться через


DynamicStatusMenuCommand Constructor

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

'Декларация
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.

.NET Framework Security

See Also

Reference

DynamicStatusMenuCommand Class

Microsoft.VisualStudio.Modeling.Shell Namespace