public void Remove(BrowserConfigElement browser) { if (BaseIndexOf(browser) >= 0) { BaseRemove(browser.Uid); } }
public BrowserCollection() { // When the collection is created, always add one element // with the default values. (This is not necessary; it is // here only to illustrate what can be done; you could // also create additional elements with other hard-coded // values here.) BrowserConfigElement browser = (BrowserConfigElement)CreateNewElement(); Add(browser); }
public int IndexOf(BrowserConfigElement browser) { return(BaseIndexOf(browser)); }
public void Add(BrowserConfigElement browser) { BaseAdd(browser); }