MimePartCollection::Remove Method (MimePart^)
.NET Framework (current version)
Removes the first occurrence of the specified MimePart from the MimePartCollection.
Assembly: System.Web.Services (in System.Web.Services.dll)
This method performs a linear search; therefore, the average execution time is proportional to Count.
The elements that follow the removed MimePart move up to occupy the vacated spot.
The following example demonstrates a typical use of the Remove method.
MimePartCollection_8#8
.NET Framework
Available since 1.1
Available since 1.1
Show: