Skip to main content

MatchCollection Class

NuGet: GHIElectronics.TinyCLR.RegularExpressions
Assembly: GHIElectronics.TinyCLR.RegularExpressions
Namespace: System.Text.RegularExpressions

Represents the set of successful matches found by iteratively applying a regular expression pattern to the input string.

public class MatchCollection : ICollection, IEnumerable

Properties

IsReadOnly

public bool IsReadOnly { get; }

Gets a value that indicates whether the collection is read only.

IsSynchronized

public bool IsSynchronized { get; }

Gets a value indicating whether access to the collection is synchronized (thread-safe).

i]

public virtual Match this[int i] { get; }

Gets an individual member of the collection.

SyncRoot

public object SyncRoot { get; }

Gets an object that can be used to synchronize access to the collection.

Methods

GetEnumerator()

public IEnumerator GetEnumerator()

Returns an enumerator that iterates through the collection.

Returns IEnumerator