EnvironmentManager.GetEnvironmentVariables Method

Definition

Gets a collection of environment variables at the scope of the current EnvironmentManager.

public:
 virtual IMapView<Platform::String ^, Platform::String ^> ^ GetEnvironmentVariables() = GetEnvironmentVariables;
IMapView<winrt::hstring, winrt::hstring const&> GetEnvironmentVariables();
public IReadOnlyDictionary<string,string> GetEnvironmentVariables();
function getEnvironmentVariables()
Public Function GetEnvironmentVariables () As IReadOnlyDictionary(Of String, String)

Returns

IMapView<String,String>

IReadOnlyDictionary<String,String>

IMapView<Platform::String,Platform::String>

IMapView<winrt::hstring,winrt::hstring>

A dictionary of environment variable key/value pairs.

Applies to

See also