CaptureCollection.ICollection<Capture>.Clear 方法

定義

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

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

實作

例外狀況

集合是唯讀的。

適用於