June 2002
Intermediate to advanced
816 pages
28h 12m
English
PortTypeCollection
This collection of PortType objects
(which are themselves collections of Operation objects) is used by the PortTypes
property of the ServiceDescription
class to represent all <portType> elements in a WSDL document.
You can access each PortType element by name or position (index number).
Public NotInheritable Class PortTypeCollection : Inherits ServiceDescriptionBaseCollection ' Public Instance Properties Public Default ReadOnly Property Item( ByVal name As String) As PortType Public Default Property Item( ByVal index As Integer) As PortType ' Public Instance Methods Public Function Add(ByVal portType As PortType) As Integer Public Function Contains( ByVal portType As PortType) As Boolean Public Sub CopyTo(ByVal array As PortType(), ByVal index As Integer) Public Function IndexOf( ByVal portType As PortType) As Integer Public Sub Insert(ByVal index As Integer, ByVal portType As PortType) Public Sub Remove(ByVal portType As PortType) ' 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
System.Object→ System.Collections.CollectionBase(System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable)→ServiceDescriptionBaseCollection→ PortTypeCollection
Read now
Unlock full access