MatchCollection.ICollection<Match>.Remove(Match) Метод
Определение
При вызове этого метода всегда возникает исключение NotSupportedException.Calling this method always throws NotSupportedException.
virtual bool System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Remove(System::Text::RegularExpressions::Match ^ item) = System::Collections::Generic::ICollection<System::Text::RegularExpressions::Match ^>::Remove;
bool ICollection<Match>.Remove (System.Text.RegularExpressions.Match item);
abstract member System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Remove : System.Text.RegularExpressions.Match -> bool
override this.System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Remove : System.Text.RegularExpressions.Match -> bool
Function Remove (item As Match) As Boolean Implements ICollection(Of Match).Remove
Параметры
- item
- Match
Объект, который должен быть удален из коллекции.The object to remove from the collection.
Возвращаемое значение
Значение true
, если элемент item
был успешно удален из коллекции; в противном случае — значение false
.true
if item
was successfully removed from the collection; otherwise, false
. Этот метод также возвращает значение false
, если значение item
не найдено в исходной коллекции.This method also returns false
if item
is not found in the original collection.
Реализации
Исключения
Коллекция только для чтения.The collection is read-only.