Share via


MatchCollection.ICollection<Match>.Clear 메서드

정의

이 메서드를 호출하면 NotSupportedException이 항상 throw됩니다.

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

구현

예외

컬렉션이 읽기 전용입니다.

설명

Count 은 0으로 설정해야 하며 컬렉션 요소의 다른 개체에 대한 참조를 해제해야 합니다.

적용 대상