IWorkspaceCommandHandler.Exec(List<WorkspaceVisualNodeBase>, Guid, UInt32, UInt32, IntPtr, IntPtr) Methode

Definition

Maßgeschneiderte Hilfsmethode für 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

Parameter

selection
List<WorkspaceVisualNodeBase>

ausgewählte Knoten

pguidCmdGroup
Guid

Befehls-GUID

nCmdID
UInt32

Befehls-ID

nCmdexecopt
UInt32

vs-Dinge

pvaIn
IntPtr

Eingaben (z. b. bei der Ausführung von Befehlsfenster mit Argumenten)

pvaOut
IntPtr

outputs

Gibt zurück

Int32

HRESULT-Ausführung, OLECMDERR_E_NOTSUPPORTED, wenn der Handler ihn nicht unterstützt (d. h. der Controller schlägt den nächsten Handler vor).

Gilt für