| IConfigurationManagerSetAppSetting Method |
Set the specified application setting
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax void SetAppSetting(
string key,
string value
)
Sub SetAppSetting (
key As String,
value As String
)
void SetAppSetting(
String^ key,
String^ value
)
abstract SetAppSetting :
key : string *
value : string -> unit
Parameters
- key
- Type: SystemString
The key of the application setting to set - value
- Type: SystemString
The value of the application setting
Exceptions Exception | Condition |
---|
NotSupportedException | If the implementer does not permit setting of app settings prograatically |
Remarks Some configuration environments may not support the setting or modification of configuration programmatically. This may be
the case in highly secured environments (like hospitals, national iCDR deployments). In that case, implementers should throw
a
NotSupportedExceptionSee Also