This documentation is archived and is not being maintained.
Visual Studio 2008
The Environment type exposes the following members.
|Exit||Terminates this process and gives the underlying operating system the specified exit code.|
|ExpandEnvironmentVariables||Replaces the name of each environment variable embedded in the specified string with the string equivalent of the value of the variable, then returns the resulting string.|
|FailFast||Terminates a process but does not execute any active try-finally blocks or finalizers.|
|GetCommandLineArgs||Returns a string array containing the command-line arguments for the current process.|
|GetEnvironmentVariable||Overloaded. Retrieves the value of an environment variable.|
|GetEnvironmentVariables||Overloaded. Retrieves all environment variable names and their values.|
|GetFolderPath||Gets the path to the system special folder identified by the specified enumeration.|
|GetLogicalDrives||Returns an array of string containing the names of the logical drives on the current computer.|
|SetEnvironmentVariable||Overloaded. Creates, modifies, or deletes an environment variable.|