Udostępnij za pośrednictwem


File.IsAbsolute Property

Definition

Tests whether this abstract pathname is absolute.

public virtual bool IsAbsolute { [Android.Runtime.Register("isAbsolute", "()Z", "GetIsAbsoluteHandler")] get; }
[<get: Android.Runtime.Register("isAbsolute", "()Z", "GetIsAbsoluteHandler")>]
member this.IsAbsolute : bool

Property Value

true if this abstract pathname is absolute, false otherwise

Attributes

Remarks

Tests whether this abstract pathname is absolute. The definition of absolute pathname is system dependent. On Android, absolute paths start with the character '/'.

Java documentation for java.io.File.isAbsolute().

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

See also