ErrorCommandArgsBase 构造函数

定义

ErrorCommandArgsBase使用匹配错误类型的列表创建的实例。

protected:
 ErrorCommandArgsBase(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITextBuffer ^ subjectBuffer, System::Collections::Generic::IEnumerable<System::String ^> ^ errorTypeNames);
protected ErrorCommandArgsBase (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITextBuffer subjectBuffer, System.Collections.Generic.IEnumerable<string> errorTypeNames);
new Microsoft.VisualStudio.Text.Editor.Commanding.Commands.ErrorCommandArgsBase : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.ITextBuffer * seq<string> -> Microsoft.VisualStudio.Text.Editor.Commanding.Commands.ErrorCommandArgsBase
Protected Sub New (textView As ITextView, subjectBuffer As ITextBuffer, errorTypeNames As IEnumerable(Of String))

参数

textView
ITextView

ITextView要在其上调用命令的。

subjectBuffer
ITextBuffer

ITextBuffer要在其上调用命令的。

errorTypeNames
IEnumerable<String>

要包括的错误类型名称的列表。

注解

errorTypeNames 如果未指定,则默认为所有定义的错误类型集。

适用于