コード例 #1
0
 /// <summary>
 /// Remove the element from the filtered items at the index passed in
 /// </summary>
 /// <param name="index">Index to be removed</param>
 public void RemoveAt(int index)
 {
     if (index <= FilteredItems.Count - 1)
     {
         FilteredItems.RemoveAt(index);
     }
     else
     {
         Debug.WriteLine("BasecodeLib warning: Cannot remove item at index " + index + ". Outside the bounds of the collection.");
     }
 }