Share via


InvalidPathException.Reason Property

Definition

Returns a string explaining why the input string was rejected.

public virtual string? Reason { [Android.Runtime.Register("getReason", "()Ljava/lang/String;", "GetGetReasonHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getReason", "()Ljava/lang/String;", "GetGetReasonHandler", ApiSince=26)>]
member this.Reason : string

Property Value

the reason string

Attributes

Remarks

Returns a string explaining why the input string was rejected.

Java documentation for java.nio.file.InvalidPathException.getReason().

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