Skip to content
DocsTry Aspire
DocsTry

EnvironmentEditor.set

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

Signature

methodset
Sets an environment variable.
set(
name: string,
value: IExpressionValue): void
namestring
valueIExpressionValue

Defined on

This method is defined on the following type: