Table of Contents

IConfigurationRoot.AddEnvironmentVariables Method

Adds the environment variables whose name starts with APrefix.

Remarks

The prefix is removed and two underscores separate levels: APPSERVER_CATALOG__PORT sets Catalog.Port. A value is a string until it is read as something else.

Syntax

Unit: Bcl.Configuration

function IConfigurationRoot.AddEnvironmentVariables(const APrefix: string): IConfigurationRoot; virtual; abstract;

Parameters

<-> Parameter Type Description
const APrefix string

See also