Capture.Index 屬性

定義

在原始字串中找到擷取的子字串的第一個字元之位置。The position in the original string where the first character of the captured substring is found.

public:
 property int Index { int get(); };
public int Index { get; }
member this.Index : int
Public ReadOnly Property Index As Integer

屬性值

在原始字串中找到擷取的子字串之以零起始的開始位置。The zero-based starting position in the original string where the captured substring is found.

適用於