Condividi tramite


DateTimeParseException.ErrorIndex Property

Definition

Returns the index where the error was found.

public virtual int ErrorIndex { [Android.Runtime.Register("getErrorIndex", "()I", "GetGetErrorIndexHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getErrorIndex", "()I", "GetGetErrorIndexHandler", ApiSince=26)>]
member this.ErrorIndex : int

Property Value

the index in the parsed string that was invalid, should be a valid index

Attributes

Remarks

Returns the index where the error was found.

Java documentation for java.time.format.DateTimeParseException.getErrorIndex().

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