Name

PortCollection

Synopsis

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 NotInheritable Class PortCollection : Inherits ServiceDescriptionBaseCollection
' Public Instance Properties
   Public Default ReadOnly Property Item(
        ByVal name As String) As Port  
   Public Default Property Item(
        ByVal index As Integer) As Port  
' Public Instance Methods
   Public Function Add(ByVal port As Port) As Integer  
   Public Function Contains(ByVal port As Port) As Boolean  
   Public Sub CopyTo(ByVal array As Port(), 
        ByVal index As Integer) 
   Public Function IndexOf(ByVal port As Port) As Integer  
   Public Sub Insert(ByVal index As Integer, 
        ByVal port As Port) 
   Public Sub Remove(ByVal port As Port) 
' Protected Instance Methods
   Overrides Protected Function GetKey(
        ByVal value As Object) As String  
   Overrides Protected Sub SetParent(ByVal value As Object, 
        ByVal parent As Object) 
End Class

Hierarchy

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

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.