MessagePartCollection

MessagePartCollection

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

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 sealed class MessagePartCollection : ServiceDescriptionBaseCollection {
// Public Instance Properties
   public MessagePart this[string name]{get; }
   public MessagePart this[int index]{set; get; }
// Public Instance Methods
   public int Add(MessagePart messagePart);
   public bool Contains(MessagePart messagePart);
   public void CopyTo(MessagePart[ ] array, int index);
   public int IndexOf(MessagePart messagePart);
   public void Insert(int index, MessagePart messagePart);
   public void Remove(MessagePart messagePart);
// Protected Instance Methods
   protected override string GetKey(object value);              // overrides ServiceDescriptionBaseCollection
   protected override void SetParent(object value, object parent); // overrides ServiceDescriptionBaseCollection
}

Hierarchy

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

Returned By

Message.Parts



    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