title: Get all items from Kentico searchindex
body: <p>I'm looking to get all of the indexed items in the code. At this moment, I have this as code</p>
  
  <pre><code>string indexName = "indexname";
  var index = SearchIndexInfoProvider.GetSearchIndexInfo(indexName);
  
  // returning 0
  var itemChildrenNumbers = index.Children.Count;
  
  // returning an empty CombinedInfoObjectCollection
  var itemChildren = index.Children.All;
  
  // returning the right amount of indexed items
  var numberOfIndexedItems = index.NumberOfIndexedItems;
  </code></pre>
  
  <p>How can i get all the indexed items in the code. I want to receive a list with the items.</p>