MatchCollection.ICollection<Match>.Add(Match) 方法

定義

呼叫這個方法一律會擲回 NotSupportedException

 virtual void System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Add(System::Text::RegularExpressions::Match ^ item) = System::Collections::Generic::ICollection<System::Text::RegularExpressions::Match ^>::Add;
void ICollection<Match>.Add (System.Text.RegularExpressions.Match item);
abstract member System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Add : System.Text.RegularExpressions.Match -> unit
override this.System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Add : System.Text.RegularExpressions.Match -> unit
Sub Add (item As Match) Implements ICollection(Of Match).Add

參數

item
Match

要新增至集合的物件。

實作

例外狀況

集合是唯讀的。

適用於