RegexParseException.Offset 属性

定义

获取正则表达式模式中发生分析错误的从零开始的字符偏移量。

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

属性值

Int32

分析错误所在的偏移量。

适用于