ErrorCommandArgsBase 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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))
参数
- subjectBuffer
- ITextBuffer
ITextBuffer要在其上调用命令的。
- errorTypeNames
- IEnumerable<String>
要包括的错误类型名称的列表。
注解
errorTypeNames 如果未指定,则默认为所有定义的错误类型集。