MimeTextMatchCollection.Remove(MimeTextMatch) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 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 的元素會往上移動,佔據空出的位置。