DataViewSelectionMenuCommand Constructor (CommandID, EventHandler, EventHandler, IVsDataViewHierarchy)
Initializes a new instance of the DataViewSelectionMenuCommand class with the command, events, and the view hierarchy.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaración
<CLSCompliantAttribute(False)> _
Public Sub New ( _
command As CommandID, _
statusHandler As EventHandler, _
handler As EventHandler, _
viewHierarchy As IVsDataViewHierarchy _
)
[CLSCompliantAttribute(false)]
public DataViewSelectionMenuCommand(
CommandID command,
EventHandler statusHandler,
EventHandler handler,
IVsDataViewHierarchy viewHierarchy
)
[CLSCompliantAttribute(false)]
public:
DataViewSelectionMenuCommand(
CommandID^ command,
EventHandler^ statusHandler,
EventHandler^ handler,
IVsDataViewHierarchy^ viewHierarchy
)
[<CLSCompliantAttribute(false)>]
new :
command:CommandID *
statusHandler:EventHandler *
handler:EventHandler *
viewHierarchy:IVsDataViewHierarchy -> DataViewSelectionMenuCommand
public function DataViewSelectionMenuCommand(
command : CommandID,
statusHandler : EventHandler,
handler : EventHandler,
viewHierarchy : IVsDataViewHierarchy
)
Parameters
- command
Type: System.ComponentModel.Design.CommandID
A CommandID that uniquely identifies the command.
- 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.
- viewHierarchy
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy
An IVsDataViewHierarchy containing the collection of selected nodes for one data connection.
.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.
See Also
Reference
DataViewSelectionMenuCommand Class