public void Remove(WebDataSourceItem item) { if (item != null) { item.SetCollection(null); } list.Remove(item); }
public void Insert(int index, WebDataSourceItem item) { if (item != null) { item.SetCollection(this); } list.Insert(index, item); }
public bool Contains(WebDataSourceItem item) { return list.Contains(item); }
public int IndexOf(WebDataSourceItem item) { return list.IndexOf(item); }
/// <summary> /// Add a webdatasource item to collection /// </summary> /// <param name="item">field item</param> /// <returns>index of item</returns> public int Add(WebDataSourceItem item) { if (item != null) { item.SetCollection(this); } return list.Add(item); }