Index Property
Collapse the table of content
Expand the table of content

Capture.Index Property

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

The position in the original string where the first character of the captured substring was found.

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

public int Index { get; }

Property Value

Type: System.Int32
The zero-based starting position in the original string where the captured substring was found.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft