IWorkspaceCommandHandler.Exec(List<WorkspaceVisualNodeBase>, Guid, UInt32, UInt32, IntPtr, IntPtr) Метод

Определение

Специализированный вспомогательный модуль для 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

Параметры

selection
List<WorkspaceVisualNodeBase>

выбранные узлы

pguidCmdGroup
Guid

Идентификатор GUID команды

nCmdID
UInt32

Идентификатор команды

nCmdexecopt
UInt32

VS

pvaIn
IntPtr

входные данные (например, при выполнении из командное окно с аргументами)

pvaOut
IntPtr

outputs

Возвращаемое значение

Int32

HResult выполнения, OLECMDERR_E_NOTSUPPORTED, если обработчик не поддерживает его (это означает, что контроллер попытается выполнить следующий обработчик).

Применяется к