Item Property
Collapse the table of content
Expand the table of content

CaptureCollection.Item Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets an individual member of the collection.

Namespace:  System.Text.RegularExpressions
Assembly:  System (in System.dll)

public Capture this[
	int i
] { get; }

Parameters

i
Type: System.Int32
Index into the capture collection.

Property Value

Type: System.Text.RegularExpressions.Capture
The captured substring at position i in the collection.

ExceptionCondition
ArgumentOutOfRangeException

i is less than 0 or greater than Count.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft