DekGenius.com
[ Team LiB ] Previous Section Next Section

ServiceCollection

System.Web.Services.Description (system.web.services.dll)sealed class

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
}

Hierarchy

System.Object System.Collections.CollectionBase(System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable) ServiceDescriptionBaseCollection ServiceCollection

Returned By

ServiceDescription.Services

    [ Team LiB ] Previous Section Next Section