private SetEnvironmentVariable ( string key, string value ) : void | ||
key | string | |
value | string | |
리턴 | void |
public virtual void SetEnvironmentVariable(string key, string value) {
#if !SILVERLIGHT
if (value != null && value.Length == 0) {
SetEmptyEnvironmentVariable(key);
} else {
Environment.SetEnvironmentVariable(key, value);
}
#else
throw new NotImplementedException();
#endif
}