File.List File.List Method

Definition

Overloads

List() List()

Returns an array of strings with the file names in the directory represented by this file.

List(IFilenameFilter) List(IFilenameFilter)

Gets a list of the files in the directory represented by this file.

List() List()

Returns an array of strings with the file names in the directory represented by this file.

[Android.Runtime.Register("list", "()[Ljava/lang/String;", "GetListHandler")]
public virtual string[] List ();
abstract member List : unit -> string[]
override this.List : unit -> string[]

Returns

String[]

Remarks

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.

List(IFilenameFilter) List(IFilenameFilter)

Gets a list of the files in the directory represented by this file.

[Android.Runtime.Register("list", "(Ljava/io/FilenameFilter;)[Ljava/lang/String;", "GetList_Ljava_io_FilenameFilter_Handler")]
public virtual string[] List (Java.IO.IFilenameFilter filter);
abstract member List : Java.IO.IFilenameFilter -> string[]
override this.List : Java.IO.IFilenameFilter -> string[]

Parameters

filter
IFilenameFilter IFilenameFilter

the filter to match names against, may be null.

Returns

String[]

Remarks

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