Export (0) Print
Expand All

Capture.Index Property

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

[Visual Basic]
Public ReadOnly Property Index As Integer
[C#]
public int Index {get;}
[C++]
public: __property int get_Index();
[JScript]
public function get Index() : int;

Property Value

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Capture Class | Capture Members | System.Text.RegularExpressions Namespace

Show:
© 2015 Microsoft