共用方式為


EditorCommandArgs(ITextView, ITextBuffer) Constructor

Definition

Creates new instance of the EditorCommandArgs with given ITextView and ITextBuffer.

public:
 EditorCommandArgs(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITextBuffer ^ subjectBuffer);
public EditorCommandArgs (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITextBuffer subjectBuffer);
new Microsoft.VisualStudio.Text.Editor.Commanding.EditorCommandArgs : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Text.Editor.Commanding.EditorCommandArgs
Public Sub New (textView As ITextView, subjectBuffer As ITextBuffer)

Parameters

textView
ITextView

A ITextView to execute a command on.

subjectBuffer
ITextBuffer

A ITextBuffer to execute command on.

Applies to