Partilhar via


Construtor DataViewSelectionMenuCommand (CommandID, IVsDataViewHierarchy)

Inicializa uma nova instância da classe de DataViewSelectionMenuCommand com o comando e a hierarquia de exibição.

Esta API não compatível com CLS. 

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

Sintaxe

'Declaração
<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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

DataViewSelectionMenuCommand Classe

Sobrecargas DataViewSelectionMenuCommand

Namespace Microsoft.VisualStudio.Data.Framework