IWorkspaceCommandHandler.Exec(List<WorkspaceVisualNodeBase>, Guid, UInt32, UInt32, IntPtr, IntPtr) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
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).