Language

IPath.Root Property

Definition

Returns the root component of this path as a Path object, or null if this path does not have a root component.

public Java.Nio.FileNio.IPath? Root { [Android.Runtime.Register("getRoot", "()Ljava/nio/file/Path;", "GetGetRootHandler:Java.Nio.FileNio.IPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getRoot", "()Ljava/nio/file/Path;", "GetGetRootHandler:Java.Nio.FileNio.IPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.Root : Java.Nio.FileNio.IPath

Property Value

a path representing the root component of this path, or null

Attributes

Remarks

Returns the root component of this path as a Path object, or null if this path does not have a root component.

Java reference for java.nio.file.Path.getRoot.

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