Specifies the location where an environment variable is stored or retrieved in a set or get operation.
The EnvironmentVariableTarget enumeration is used by certain overloads of the erload:System.Environment.SetEnvironmentVariable, erload:System.Environment.GetEnvironmentVariable, and erload:System.Environment.GetEnvironmentVariables methods to specify the location, or target, where the name and value of an environment variable is stored or retrieved.
The target can be one of three locations: the environment block associated with the current process, the Windows operating system registry key reserved for environment variables associated with the current user, or the registry key reserved for environment variables associated with all users on the local machine.