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

要添加到集合中的对象。

实现

例外

该集合是只读的。

适用于