Condividi tramite


InvalidPathException.Index Property

Definition

Returns an index into the input string of the position at which the error occurred, or -1 if this position is not known.

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

Property Value

the error index

Attributes

Remarks

Returns an index into the input string of the position at which the error occurred, or -1 if this position is not known.

Java documentation for java.nio.file.InvalidPathException.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