This is a collection of ServiceDescription objects. Every ServiceDescription object provides a reference to the ServiceDescriptionCollection that it is a part of in its ServiceDescription.ServiceDescriptions property. You can access each ServiceDescription element by name or position (index number).
public sealed class ServiceDescriptionCollection : ServiceDescriptionBaseCollection { // Public Constructors public ServiceDescriptionCollection( ); // Public Instance Properties public ServiceDescription this[string ns]{get; } public ServiceDescription this[int index]{set; get; } // Public Instance Methods public int Add(ServiceDescription serviceDescription); public bool Contains(ServiceDescription serviceDescription); public void CopyTo(ServiceDescription[ ] array, int index); public Binding GetBinding(System.Xml.XmlQualifiedName name); public Message GetMessage(System.Xml.XmlQualifiedName name); public PortType GetPortType(System.Xml.XmlQualifiedName name); public Service GetService(System.Xml.XmlQualifiedName name); public int IndexOf(ServiceDescription serviceDescription); public void Insert(int index, ServiceDescription serviceDescription); public void Remove(ServiceDescription serviceDescription); // Protected Instance Methods protected override string GetKey(object value); // overrides ServiceDescriptionBaseCollection }