共用方式為


IVsCommandHandlerServiceAdapterFactory.GetCurrentOleCommandExecutionInput Method

Definition

Returns OleCommandExecutionArgs instance representing raw (as passed to Exec(Guid, UInt32, UInt32, IntPtr, IntPtr) input arguments for the currently executing command.

public:
 Microsoft::VisualStudio::Editor::Commanding::OleCommandExecutionArgs ^ GetCurrentOleCommandExecutionInput(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public Microsoft.VisualStudio.Editor.Commanding.OleCommandExecutionArgs GetCurrentOleCommandExecutionInput (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member GetCurrentOleCommandExecutionInput : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Editor.Commanding.OleCommandExecutionArgs
Public Function GetCurrentOleCommandExecutionInput (textView As ITextView) As OleCommandExecutionArgs

Parameters

textView
ITextView

A ITextView on which the command is being executed.

Returns

OleCommandExecutionArgs instance representing raw (as passed to Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)) input.

Applies to