CaptureCollection Class
NuGet: GHIElectronics.TinyCLR.RegularExpressions
Assembly: GHIElectronics.TinyCLR.RegularExpressions
Namespace: System.Text.RegularExpressions
Represents the set of captures made by a single capturing group.
public class CaptureCollection : ICollection, IEnumerable
Properties
Count
public int Count { get; }
The number of captures in the collection.
IsReadOnly
public bool IsReadOnly { get; }
Gets a value indicating 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 Capture this[int i] { get; }
Gets the capture at the specified index in the collection.
SyncRoot
public object SyncRoot { get; }
An object that can be used to synchronize access to the collection.
Methods
CopyTo(Array array, int arrayIndex)
public void CopyTo(Array array, int arrayIndex)
Copies all the elements of the collection to the given array starting at the given index.
GetEnumerator()
public IEnumerator GetEnumerator()
Returns an enumerator that iterates through the collection.
Returns IEnumerator