RegexParseException.Offset Property

Definition

Gets the zero-based character offset in the regular expression pattern where the parse error occurs.

public int Offset { get; }

Property Value

The offset at which the parse error occurs.

Applies to

产品 版本
.NET 5, 6, 7, 8, 9