Compartilhar via


EnvironmentManager.GetEnvironmentVariables Método

Definição

Obtém uma coleção de variáveis de ambiente no escopo do EnvironmentManager atual.

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)

Retornos

IMapView<String,String>

IReadOnlyDictionary<String,String>

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

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

Um dicionário de pares chave/valor de variável de ambiente.

Aplica-se a

Confira também