OwnedEnvironmentVariable Class

Definition

Represents an owned environment variable.

public sealed class OwnedEnvironmentVariable : Microsoft.Testing.Platform.Extensions.TestHostControllers.EnvironmentVariable
type OwnedEnvironmentVariable = class
    inherit EnvironmentVariable
Public NotInheritable Class OwnedEnvironmentVariable
Inherits EnvironmentVariable
Inheritance
OwnedEnvironmentVariable

Remarks

This class extends the EnvironmentVariable class and adds an owner property.

Constructors

Name Description
OwnedEnvironmentVariable(IExtension, String, String, Boolean, Boolean)

Represents an owned environment variable.

Properties

Name Description
IsLocked

Gets a value indicating whether the environment variable is locked.

(Inherited from EnvironmentVariable)
IsSecret

Gets a value indicating whether the environment variable is a secret.

(Inherited from EnvironmentVariable)
Owner

Gets the owner of the environment variable.

Value

Gets the value of the environment variable.

(Inherited from EnvironmentVariable)
Variable

Gets the name of the environment variable.

(Inherited from EnvironmentVariable)

Applies to