EnvironmentVariableCollection.Add Method

Definition

Adds a variable.

public:
 void Add(System::String ^ varName, TypeCode varType, System::Object ^ varValue, bool varSensitive, System::String ^ varDesciption);
public void Add (string varName, TypeCode varType, object varValue, bool varSensitive, string varDesciption);
override this.Add : string * TypeCode * obj * bool * string -> unit
Public Sub Add (varName As String, varType As TypeCode, varValue As Object, varSensitive As Boolean, varDesciption As String)

Parameters

varName
String

The name of the variable.

varType
TypeCode

The type of the variable.

varValue
Object

The value of the variable.

varSensitive
Boolean

true to the variable that is sensitive; otherwise, false.

varDesciption
String

The description of the variable.

Applies to