/// <summary> /// Default constructor. /// </summary> public ProxyPop3HostCollection() { // Get the current host element. ProxyPop3HostElement host = (ProxyPop3HostElement)CreateNewElement(); // Add the element to the collection. Add(host); }
/// <summary> /// Add a new host element type to the collection. /// </summary> /// <param name="element">The current host element.</param> public void Add(ProxyPop3HostElement element) { // Add the element to the base // ConfigurationElementCollection type. BaseAdd(element); }