IEnvironmentVariables Interface

Definition

Represents an interface for managing environment variables.

C#
public interface IEnvironmentVariables : Microsoft.Testing.Platform.Extensions.TestHostControllers.IReadOnlyEnvironmentVariables
Implements

Methods

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)

Applies to

Produit Versions
Microsoft Testing Platform 1.0.2, 1.1.0, 1.2.1, 1.3.2, 1.4.3, 1.5.3, 1.6.0