Name
PortTypeCollection
Synopsis
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
Hierarchy
System.Object→ System.Collections.CollectionBase(System.Collections.IList
, System.Collections.ICollection
, System.Collections.IEnumerable)→ServiceDescriptionBaseCollection→ PortTypeCollection
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.