This collection of Service objects is used by the Services property of the ServiceDescription class to represent all <service> elements in a WSDL document. You can access each Service element by name or position (index number).
public sealed class ServiceCollection : ServiceDescriptionBaseCollection { // Public Instance Properties public Service this[string name]{get; } public Service this[int index]{set; get; } // Public Instance Methods public int Add(Service service); public bool Contains(Service service); public void CopyTo(Service[ ] array, int index); public int IndexOf(Service service); public void Insert(int index, Service service); public void Remove(Service service); // Protected Instance Methods protected override string GetKey(object value); // overrides ServiceDescriptionBaseCollection protected override void SetParent(object value, object parent); // overrides ServiceDescriptionBaseCollection }