Android Guides | Samples

Java.Lang.ProcessBuilder.Directory Method

Changes the working directory of this process builder.

Syntax

[Android.Runtime.Register("directory", "(Ljava/io/File;)Ljava/lang/ProcessBuilder;", "")]
public ProcessBuilder Directory (File directory)

Parameters

directory
the new working directory for this process builder.

Remarks

Changes the working directory of this process builder. If the specified directory is null, then the working directory of the Java process is used when a process is started.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1