CaptureCollection.Item[Int32] Property

Definition

Gets an individual member of the collection.

public:
 property System::Text::RegularExpressions::Capture ^ default[int] { System::Text::RegularExpressions::Capture ^ get(int i); };
public System.Text.RegularExpressions.Capture this[int i] { get; }
member this.Item(int) : System.Text.RegularExpressions.Capture
Default Public ReadOnly Property Item(i As Integer) As Capture

Parameters

i
Int32

Index into the capture collection.

Property Value

The captured substring at position i in the collection.

Implements

Exceptions

The collection is read-only.

i is less than 0 or greater than Count.

Applies to