PortCollection

PortCollection

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

This collection of Port objects is used by the Ports property of the Service class to represent all the <port> elements in a WSDL document. You can access each Port element by name or position (index number).

public sealed class PortCollection : ServiceDescriptionBaseCollection {
// Public Instance Properties
   public Port this[string name]{get; }
   public Port this[int index]{set; get; }
// Public Instance Methods
   public int Add(Port port);
   public bool Contains(Port port);
   public void CopyTo(Port[ ] array, int index);
   public int IndexOf(Port port);
   public void Insert(int index, Port port);
   public void Remove(Port port);
// Protected Instance Methods
   protected override string GetKey(object value);      // overrides ServiceDescriptionBaseCollection
   protected override void SetParent(object value,      // overrides ServiceDescriptionBaseCollection
        object parent);
}

Hierarchy

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

Returned By

Service.Ports



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace