Skip to content
Docs Try Aspire
Docs Try

EnvironmentEditor.set

Method
📦 Aspire.Hosting v13.3.0
interface EnvironmentEditor {
// ... omitted for brevity
set(
name: string,
value: IExpressionValue): void;
}

Signature

method set
Sets an environment variable
set(
name: string,
value: IExpressionValue): void
name string
value IExpressionValue

Defined on

This method is defined on the following type: