Partager via


ProcessBuilder.Redirect.File Method

Definition

Returns the File source or destination associated with this redirect, or null if there is no such file.

[Android.Runtime.Register("file", "()Ljava/io/File;", "GetFileHandler", ApiSince=26)]
public virtual Java.IO.File File ();
[<Android.Runtime.Register("file", "()Ljava/io/File;", "GetFileHandler", ApiSince=26)>]
abstract member File : unit -> Java.IO.File
override this.File : unit -> Java.IO.File

Returns

the file associated with this redirect, or null if there is no such file

Attributes

Remarks

Returns the File source or destination associated with this redirect, or null if there is no such file.

Java documentation for java.lang.ProcessBuilder.Redirect.file().

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