Share via


EnvironmentVariable.Rename(String) Method

Definition

Renames the environment variable.

public:
 void Rename(System::String ^ newName);
public void Rename (string newName);
member this.Rename : string -> unit
Public Sub Rename (newName As String)

Parameters

newName
String

The new name for the environment variable.

Applies to