Skip to content

TCustomApplication.GetEnvironmentList

Return a list of environment variables.

Declaration

Source position: custapp.pp line 95

public 
procedure GetEnvironmentList(List: TStrings; NamesOnly: Boolean);

procedure GetEnvironmentList(List: TStrings);

Description

GetEnvironmentList returns a list of environment variables in List. They are in the form Name=Value, one per item in list. If NamesOnly is True, then only the names are returned.

See also

Name Description
EnvironmentVariable Environment variable access.