Share via


DataMenuCommand Constructor (CommandID, EventHandler)

Initializes a new instance of the DataMenuCommand class, specifying the command identifier and event.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Sub New ( _
    command As CommandID, _
    handler As EventHandler _
)
public DataMenuCommand(
    CommandID command,
    EventHandler handler
)
public:
DataMenuCommand(
    CommandID^ command, 
    EventHandler^ handler
)
new : 
        command:CommandID * 
        handler:EventHandler -> DataMenuCommand
public function DataMenuCommand(
    command : CommandID, 
    handler : EventHandler
)

Parameters

Remarks

This constructor delegates to DataMenuCommand and passes nulla null reference (Nothing in Visual Basic) for the argument.

.NET Framework Security

See Also

Reference

DataMenuCommand Class

DataMenuCommand Overload

Microsoft.VisualStudio.Data.Framework Namespace