Removes the first occurrence of the specified System.Web.Services.Description.MessagePart from the System.Web.Services.Description.MessagePartCollection.
- messagePart
- The System.Web.Services.Description.MessagePart to remove from the collection.
This method performs a linear search; therefore, the average execution time is proportional to CollectionBase.Count.
The elements that follow the removed System.Web.Services.Description.MessagePart move up to occupy the vacated spot.