IEnvironmentVariables Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an interface for managing environment variables.
public interface IEnvironmentVariables : Microsoft.Testing.Platform.Extensions.TestHostControllers.IReadOnlyEnvironmentVariables
type IEnvironmentVariables = interface
interface IReadOnlyEnvironmentVariables
Public Interface IEnvironmentVariables
Implements IReadOnlyEnvironmentVariables
- Implements
Methods
| Name | Description |
|---|---|
| RemoveVariable(String) |
Removes the specified environment variable. |
| SetVariable(EnvironmentVariable) |
Sets the value of the specified environment variable. |
| TryGetVariable(String, OwnedEnvironmentVariable) |
Tries to get the value of the specified environment variable. (Inherited from IReadOnlyEnvironmentVariables) |