Udostępnij za pośrednictwem


File.ListRoots Method

Definition

Returns the file system roots.

[Android.Runtime.Register("listRoots", "()[Ljava/io/File;", "")]
public static Java.IO.File[] ListRoots ();
[<Android.Runtime.Register("listRoots", "()[Ljava/io/File;", "")>]
static member ListRoots : unit -> Java.IO.File[]

Returns

File[]
Attributes

Remarks

Returns the file system roots. On Android and other Unix systems, there is a single root, /.

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

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