語言

MimeTextMatchCollection.Remove(MimeTextMatch) 方法

定義

從 MimeTextMatch移除指定 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)

參數

match
MimeTextMatch

從收藏中移除。MimeTextMatch

範例

下列範例示範 Remove 方法的用法。

MimeText_Match_MatchColl_9#6

備註

此方法執行線性搜尋;因此,平均執行時間與 Count成正比。

跟隨移除 MimeTextMatch 的元素會往上移動,佔據空出的位置。

適用於