Android Guides | Samples

Java.Lang.ProcessBuilder.Environment Method

Returns this process builder's current environment.

Syntax

[Android.Runtime.Register("environment", "()Ljava/util/Map;", "")]
public IDictionary<string, string> Environment ()

Remarks

Returns this process builder's current environment. When a process builder instance is created, the environment is populated with a copy of the environment, as returned by JavaSystem.Getenv. Note that the map returned by this method is not a copy and any changes made to it are reflected in this instance's state.

[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