语言

MimeTextMatchCollection.Remove(MimeTextMatch) 方法

定义

从 中移除指定的第一个匹配项。

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)

参数

match
MimeTextMatch

要 MimeTextMatch 从集合中移除的集合。

示例

下面的示例演示 Remove 方法的用法。

MimeText_Match_MatchColl_9#6

注解

此方法执行线性搜索;因此,平均执行时间与 Count.

删除 MimeTextMatch 后的元素向上移动以占用空置的位置。

适用于