Provides a means of accessing a specific capture in the collection.
[C#] In C#, this member is the indexer for the CaptureCollection class.
[Visual Basic] Public Default ReadOnly Property Item( _ ByVal i As Integer _ ) As Capture [C#] public Capture this[ int i ] {get;} [C++] public: __property Capture* get_Item( int i ); [JScript] returnValue = CaptureCollectionObject.Item(i); -or- returnValue = CaptureCollectionObject(i);
[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed Item property whose type is Object and whose index type is String.
The ith captured string in the collection.
CaptureCollection Class | CaptureCollection Members | System.Text.RegularExpressions Namespace