MatchCollection.ICollection<Match>.Clear Метод

Определение

Вызов этого метода всегда вызывает.NotSupportedException

 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, а ссылки на другие объекты из элементов коллекции должны быть освобождены.

Применяется к