CaptureCollection.ICollection<Capture>.Add(Capture) 方法

定義

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

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

參數

item
Capture

要新增至集合的物件。

實作

例外狀況

集合是唯讀的。

適用於