Partager via


DataViewSelectionMenuCommand Constructor (CommandID, IVsDataViewHierarchy)

Initializes a new instance of the DataViewSelectionMenuCommand class with the command 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

'Declaration
<CLSCompliantAttribute(False)> _
Public Sub New ( _
    command As CommandID, _
    viewHierarchy As IVsDataViewHierarchy _
)
[CLSCompliantAttribute(false)]
public DataViewSelectionMenuCommand(
    CommandID command,
    IVsDataViewHierarchy viewHierarchy
)
[CLSCompliantAttribute(false)]
public:
DataViewSelectionMenuCommand(
    CommandID^ command, 
    IVsDataViewHierarchy^ viewHierarchy
)
[<CLSCompliantAttribute(false)>]
new : 
        command:CommandID * 
        viewHierarchy:IVsDataViewHierarchy -> DataViewSelectionMenuCommand
public function DataViewSelectionMenuCommand(
    command : CommandID, 
    viewHierarchy : IVsDataViewHierarchy
)

Parameters

.NET Framework Security

See Also

Reference

DataViewSelectionMenuCommand Class

DataViewSelectionMenuCommand Overload

Microsoft.VisualStudio.Data.Framework Namespace