Name
MessagePartCollection
Synopsis
This collection of MessagePart
objects is used by the Parts
property of the Message
class to
represent the return value and parameters of a message. You can access
an invidual MessagePart
by name or
position (index number).
Public NotInheritable Class MessagePartCollection : Inherits ServiceDescriptionBaseCollection ' Public Instance Properties Public Default ReadOnly Property Item( ByVal name As String) As MessagePart Public Default Property Item( ByVal index As Integer) As MessagePart ' Public Instance Methods Public Function Add( ByVal messagePart As MessagePart) As Integer Public Function Contains( ByVal messagePart As MessagePart) As Boolean Public Sub CopyTo(ByVal array As MessagePart(), ByVal index As Integer) Public Function IndexOf( ByVal messagePart As MessagePart) As Integer Public Sub Insert(ByVal index As Integer, ByVal messagePart As MessagePart) Public Sub Remove(ByVal messagePart As MessagePart) ' 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→ MessagePartCollection
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.