Partilhar via


Método DataViewCommandProvider.CreateSelectionCommand (CommandID)

Cria um comando de menu de seleção para vários nós no server Explorer.

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

Sintaxe

'Declaração
Public Function CreateSelectionCommand ( _
    commandId As CommandID _
) As MenuCommand
public MenuCommand CreateSelectionCommand(
    CommandID commandId
)
public:
virtual MenuCommand^ CreateSelectionCommand(
    CommandID^ commandId
) sealed
abstract CreateSelectionCommand : 
        commandId:CommandID -> MenuCommand 
override CreateSelectionCommand : 
        commandId:CommandID -> MenuCommand 
public final function CreateSelectionCommand(
    commandId : CommandID
) : MenuCommand

Parâmetros

Valor de retorno

Tipo: System.ComponentModel.Design.MenuCommand
Um objeto de MenuCommand que representa um item de comando de menu de seleção.

Segurança do .NET Framework

Consulte também

Referência

DataViewCommandProvider Classe

Sobrecargas CreateSelectionCommand

Namespace Microsoft.VisualStudio.Data.Framework