Share via


Capture.Index プロパティ

キャプチャした部分文字列の最初の文字が見つかった元の文字列内の位置。

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

プロパティ値

キャプチャした部分文字列が見つかった元の文字列内の開始位置を示す 0 から始まる数値。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

Capture クラス | Capture メンバ | System.Text.RegularExpressions 名前空間