IWorkspaceCommandHandler.Exec(List<WorkspaceVisualNodeBase>, Guid, UInt32, UInt32, IntPtr, IntPtr) Método

Definição

Auxiliar personalizado para o IOleCommandTarget.Exec

public:
 int Exec(System::Collections::Generic::List<Microsoft::VisualStudio::Workspace::VSIntegration::UI::WorkspaceVisualNodeBase ^> ^ selection, Guid pguidCmdGroup, System::UInt32 nCmdID, System::UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut);
public int Exec (System.Collections.Generic.List<Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase> selection, Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut);
abstract member Exec : System.Collections.Generic.List<Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase> * Guid * uint32 * uint32 * nativeint * nativeint -> int
Public Function Exec (selection As List(Of WorkspaceVisualNodeBase), pguidCmdGroup As Guid, nCmdID As UInteger, nCmdexecopt As UInteger, pvaIn As IntPtr, pvaOut As IntPtr) As Integer

Parâmetros

selection
List<WorkspaceVisualNodeBase>

Nós selecionados

pguidCmdGroup
Guid

GUID de comando

nCmdID
UInt32

ID do comando

nCmdexecopt
UInt32

itens do vs

pvaIn
IntPtr

entradas (tais quando executadas de janela Comando com argumentos)

pvaOut
IntPtr

outputs

Retornos

Int32

execução HResult, OLECMDERR_E_NOTSUPPORTED se o manipulador não oferecer suporte a ele (o que significa que o controlador tentará o próximo manipulador).

Aplica-se a