Name

CaptureCollection

Synopsis

This class contains a set of captures acquired by a single capturing group. A CaptureCollection is returned by Group.Captures. An integer indexer returns a single Capture object from this collection. The Count property gets the number of captures in the collection.

Public Class CaptureCollection : Implements ICollection, IEnumerable
' Public Instance Properties
   Public ReadOnly Property Count As Integer Implements ICollection.Count 
   Public ReadOnly Property IsReadOnly As Boolean  
   Public ReadOnly Property IsSynchronized As Boolean Implements ICollection.IsSynchronized 
   Public Default ReadOnly Property Item(
        ByVal i As Integer) As Capture  
   Public ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot 
' Public Instance Methods
   Public Sub CopyTo(ByVal array As Array, 
        ByVal arrayIndex As Integer) Implements ICollection.CopyTo 
   Public Function GetEnumerator(
        ) As IEnumerator Implements IEnumerable.GetEnumerator 
End Class

Returned By

Group.Captures

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.