Language

Os.Setenv(String, String, Boolean) Method

Definition

See setenv(3).

[Android.Runtime.Register("setenv", "(Ljava/lang/String;Ljava/lang/String;Z)V", "")]
public static void Setenv(string? name, string? value, bool overwrite);
[<Android.Runtime.Register("setenv", "(Ljava/lang/String;Ljava/lang/String;Z)V", "")>]
static member Setenv : string * string * bool -> unit

Parameters

name
String

The name of the environment variable.

value
String

The value to assign to the variable.

overwrite
Boolean

true to replace an existing value; false to leave an existing value unchanged.

Attributes

Exceptions

Remarks

See setenv(3).

Java documentation for android.system.Os.setenv(java.lang.String, java.lang.String, boolean).

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