Share via


PatternSyntaxException.Index Property

Definition

Retrieves the error index.

public virtual int Index { [Android.Runtime.Register("getIndex", "()I", "GetGetIndexHandler")] get; }
[<get: Android.Runtime.Register("getIndex", "()I", "GetGetIndexHandler")>]
member this.Index : int

Property Value

The approximate index in the pattern of the error, or -1 if the index is not known

Attributes

Remarks

Retrieves the error index.

Java documentation for java.util.regex.PatternSyntaxException.getIndex().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to