title: VS2015 extension - Get selected items in Error list
body: <p>I'm trying to make an extension for Visual Studio 2015 that depends on the selected items in the Error List view.</p>
  
  <p>I'm retrieving the list with the following code:</p>
  
  <pre><code>var errorList = this.dte2.ToolWindows.ErrorList as IVsTaskList2;
  IVsEnumTaskItems items;
  errorList.EnumSelectedItems(out items);
  </code></pre>
  
  <p>But my problem is now that i'm able to get the description (Text) but not the error code (HelpKeyword).
  The description do i get this way:</p>
  
  <pre><code> IVsTaskItem[] item = new IVsTaskItem[1];
   while (items.Next(1, item, null) == 0)
   {
      string description;
      item.get_Text(out description);
   }
  </code></pre>
  
  <p>Hope someone can helped me on this as i'm quiet frustrated at the moment.</p>