EnvironmentManager.GetEnvironmentVariables Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A dictionary of environment variable key/value pairs.