RegexParseException.Offset Property (System.Text.RegularExpressions) (original) (raw)

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

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

Property Value

The offset at which the parse error occurs.

Applies to