MimeTextMatchCollection.Remove(MimeTextMatch) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the first occurrence of the specified MimeTextMatch from the MimeTextMatchCollection.
public:
void Remove(System::Web::Services::Description::MimeTextMatch ^ match);
public void Remove (System.Web.Services.Description.MimeTextMatch match);
member this.Remove : System.Web.Services.Description.MimeTextMatch -> unit
Public Sub Remove (match As MimeTextMatch)
Parameters
- match
- MimeTextMatch
The MimeTextMatch to remove from the collection.
Examples
The following example demonstrates the use of the Remove
method.
MimeText_Match_MatchColl_9#6
Remarks
This method performs a linear search; therefore, the average execution time is proportional to Count.
The elements that follow the removed MimeTextMatch
move up to occupy the vacated spot.