title: Access each Bug item after filtering and creating newlist in QC using com4j
body: <p>I am able to connect to hpqc using com4j and also able to filter the defect. 
  Now i need to access each item of the buglist.</p>
  
  <p>I am able to access for a single defect like :</p>
  
  <pre><code>IBug bug = bugfactory.item(55203).queryInterface(IBug.class);
  System.out.println(bug.field("BG_DEV_COMMENTS"));
  </code></pre>
  
  <p>But i want to be able to access all defect withing a List.
  So this is what i did:</p>
  
  <pre><code>IBugFactory bugfactory = td.bugFactory().queryInterface(IBugFactory.class);
  ITDFilter fil = bugfactory.filter().queryInterface(ITDFilter.class);
  fil.filter("BG_USER_13","Not Production");
  IList buglist = fil.newList();
  </code></pre>
  
  <p>After this, I want to access each list item, so i did</p>
  
  <pre><code>for(int i=1;i&lt;=buglist.count();i++{
   IBug bug1 = buglist.item(i)  // this statement is not working --
  }
  </code></pre>
  
  <p>i cannot use IBug bug1 = buglist.item(i).queryinterface(IBug.class) statement as well.</p>
  
  <p>What should be the correct code to access each item of the buglist and assign that to a Bug.</p>