Compartir a través de


DataViewSelectionMenuCommand Constructor (CommandID, EventHandler, IVsDataViewHierarchy)

Initializes a new instance of the DataViewSelectionMenuCommand class with the command, an event, 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, _
    handler As EventHandler, _
    viewHierarchy As IVsDataViewHierarchy _
)
[CLSCompliantAttribute(false)]
public DataViewSelectionMenuCommand(
    CommandID command,
    EventHandler handler,
    IVsDataViewHierarchy viewHierarchy
)
[CLSCompliantAttribute(false)]
public:
DataViewSelectionMenuCommand(
    CommandID^ command, 
    EventHandler^ handler, 
    IVsDataViewHierarchy^ viewHierarchy
)
[<CLSCompliantAttribute(false)>]
new : 
        command:CommandID * 
        handler:EventHandler * 
        viewHierarchy:IVsDataViewHierarchy -> DataViewSelectionMenuCommand
public function DataViewSelectionMenuCommand(
    command : CommandID, 
    handler : EventHandler, 
    viewHierarchy : IVsDataViewHierarchy
)

Parameters

.NET Framework Security

See Also

Reference

DataViewSelectionMenuCommand Class

DataViewSelectionMenuCommand Overload

Microsoft.VisualStudio.Data.Framework Namespace