EnvironmentManager.SetEnvironmentVariable(String, String) 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.
public:
virtual void SetEnvironmentVariable(Platform::String ^ name, Platform::String ^ value) = SetEnvironmentVariable;
void SetEnvironmentVariable(winrt::hstring const& name, winrt::hstring const& value);
public void SetEnvironmentVariable(string name, string value);
function setEnvironmentVariable(name, value)
Public Sub SetEnvironmentVariable (name As String, value As String)
Parameters
- name
-
String
Platform::String
winrt::hstring
- value
-
String
Platform::String
winrt::hstring